15 lines
461 B
Text
15 lines
461 B
Text
=== 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(Generic.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))
|
|
|