13 lines
531 B
Plaintext
13 lines
531 B
Plaintext
=== tests/cases/compiler/noConstraintInReturnType1.ts ===
|
|
class List<T extends {}> {
|
|
>List : Symbol(List, Decl(noConstraintInReturnType1.ts, 0, 0))
|
|
>T : Symbol(T, Decl(noConstraintInReturnType1.ts, 0, 11))
|
|
|
|
static empty<T extends {}>(): List<T> { return null; }
|
|
>empty : Symbol(List.empty, Decl(noConstraintInReturnType1.ts, 0, 26))
|
|
>T : Symbol(T, Decl(noConstraintInReturnType1.ts, 1, 17))
|
|
>List : Symbol(List, Decl(noConstraintInReturnType1.ts, 0, 0))
|
|
>T : Symbol(T, Decl(noConstraintInReturnType1.ts, 1, 17))
|
|
}
|
|
|