1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
=== tests/cases/compiler/stringIndexerAndConstructor.ts ===
class C {
>C : Symbol(C, Decl(stringIndexerAndConstructor.ts, 0, 0))
[s: string]: number;
>s : Symbol(s, Decl(stringIndexerAndConstructor.ts, 1, 5))
constructor() { }
static v() { }
>v : Symbol(C.v, Decl(stringIndexerAndConstructor.ts, 2, 21))
}
interface I {
>I : Symbol(I, Decl(stringIndexerAndConstructor.ts, 4, 1))
[s: string]: number;
>s : Symbol(s, Decl(stringIndexerAndConstructor.ts, 7, 5))
(): boolean;
new (): boolean;
"": string;
>"" : Symbol(I[""], Decl(stringIndexerAndConstructor.ts, 9, 20))
d: string;
>d : Symbol(I.d, Decl(stringIndexerAndConstructor.ts, 10, 15))
}
|