2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/constraintsUsedInPrototypeProperty.ts ===
|
|
|
|
class Foo<T extends number, U, V extends string> { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>Foo : Foo<T, U, V>
|
|
|
|
>T : T
|
|
|
|
>U : U
|
|
|
|
>V : V
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
Foo.prototype; // Foo<any, any, any>
|
2015-04-16 01:44:20 +02:00
|
|
|
>Foo.prototype : Foo<any, any, any>
|
|
|
|
>Foo : typeof Foo
|
|
|
|
>prototype : Foo<any, any, any>
|
2014-08-15 23:33:16 +02:00
|
|
|
|