2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/nestedGenerics.ts ===
|
|
|
|
interface Foo<T> {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : Foo<T>, Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
|
|
|
|
>T : T, Symbol(T, Decl(nestedGenerics.ts, 0, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
t: T;
|
2015-04-13 23:01:57 +02:00
|
|
|
>t : T, Symbol(t, Decl(nestedGenerics.ts, 0, 18))
|
|
|
|
>T : T, Symbol(T, Decl(nestedGenerics.ts, 0, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
var f: Foo<Foo<number>>;
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : Foo<Foo<number>>, Symbol(f, Decl(nestedGenerics.ts, 4, 3))
|
|
|
|
>Foo : Foo<T>, Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
|
|
|
|
>Foo : Foo<T>, Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|