TypeScript/tests/baselines/reference/constraintsUsedInPrototypeProperty.types
2015-04-15 16:44:20 -07:00

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>