TypeScript/tests/baselines/reference/interface0.symbols
2015-04-15 16:44:20 -07:00

16 lines
453 B
Plaintext

=== tests/cases/compiler/interface0.ts ===
interface Generic<T> {
>Generic : Symbol(Generic, Decl(interface0.ts, 0, 0))
>T : Symbol(T, Decl(interface0.ts, 0, 18))
x: T;
>x : Symbol(x, Decl(interface0.ts, 0, 22))
>T : Symbol(T, Decl(interface0.ts, 0, 18))
}
var y: Generic<number> = { x: 3 };
>y : Symbol(y, Decl(interface0.ts, 4, 3))
>Generic : Symbol(Generic, Decl(interface0.ts, 0, 0))
>x : Symbol(x, Decl(interface0.ts, 4, 26))