12 lines
531 B
Text
12 lines
531 B
Text
=== 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))
|
|
}
|
|
|