15 lines
455 B
Text
15 lines
455 B
Text
=== tests/cases/compiler/nestedGenerics.ts ===
|
|
interface Foo<T> {
|
|
>Foo : Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
|
|
>T : Symbol(T, Decl(nestedGenerics.ts, 0, 14))
|
|
|
|
t: T;
|
|
>t : Symbol(t, Decl(nestedGenerics.ts, 0, 18))
|
|
>T : Symbol(T, Decl(nestedGenerics.ts, 0, 14))
|
|
}
|
|
|
|
var f: Foo<Foo<number>>;
|
|
>f : Symbol(f, Decl(nestedGenerics.ts, 4, 3))
|
|
>Foo : Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
|
|
>Foo : Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
|
|
|