TypeScript/tests/baselines/reference/genericConstraintDeclaration.types
2014-08-18 19:56:03 -07:00

17 lines
257 B
Plaintext

=== tests/cases/compiler/genericConstraintDeclaration.ts ===
class List<T extends {}>{
>List : List<T>
>T : T
static empty<T extends {}>(): List<T>{return null;}
>empty : <T extends {}>() => List<T>
>T : T
>List : List<T>
>T : T
}