13 lines
586 B
Plaintext
13 lines
586 B
Plaintext
|
=== tests/cases/compiler/constraintsUsedInPrototypeProperty.ts ===
|
||
|
class Foo<T extends number, U, V extends string> { }
|
||
|
>Foo : Symbol(Foo, Decl(constraintsUsedInPrototypeProperty.ts, 0, 0))
|
||
|
>T : Symbol(T, Decl(constraintsUsedInPrototypeProperty.ts, 0, 10))
|
||
|
>U : Symbol(U, Decl(constraintsUsedInPrototypeProperty.ts, 0, 27))
|
||
|
>V : Symbol(V, Decl(constraintsUsedInPrototypeProperty.ts, 0, 30))
|
||
|
|
||
|
Foo.prototype; // Foo<any, any, any>
|
||
|
>Foo.prototype : Symbol(Foo.prototype)
|
||
|
>Foo : Symbol(Foo, Decl(constraintsUsedInPrototypeProperty.ts, 0, 0))
|
||
|
>prototype : Symbol(Foo.prototype)
|
||
|
|