TypeScript/tests/baselines/reference/nestedGenerics.types
2015-04-13 14:29:37 -07:00

16 lines
506 B
Plaintext

=== tests/cases/compiler/nestedGenerics.ts ===
interface Foo<T> {
>Foo : Foo<T>, Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
>T : T, Symbol(T, Decl(nestedGenerics.ts, 0, 14))
t: T;
>t : T, Symbol(t, Decl(nestedGenerics.ts, 0, 18))
>T : T, Symbol(T, Decl(nestedGenerics.ts, 0, 14))
}
var f: Foo<Foo<number>>;
>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))