13 lines
298 B
Plaintext
13 lines
298 B
Plaintext
|
=== tests/cases/compiler/constraintsUsedInPrototypeProperty.ts ===
|
||
|
class Foo<T extends number, U, V extends string> { }
|
||
|
>Foo : Foo<T, U, V>
|
||
|
>T : T
|
||
|
>U : U
|
||
|
>V : V
|
||
|
|
||
|
Foo.prototype; // Foo<any, any, any>
|
||
|
>Foo.prototype : Foo<any, any, any>
|
||
|
>Foo : typeof Foo
|
||
|
>prototype : Foo<any, any, any>
|
||
|
|