12 lines
298 B
Text
12 lines
298 B
Text
=== 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>
|
|
|