TypeScript/tests/cases/compiler/stringIndexerAndConstructor.ts
2014-07-12 17:30:19 -07:00

13 lines
200 B
TypeScript

class C {
[s: string]: number;
constructor() { }
static v() { }
}
interface I {
[s: string]: number;
(): boolean;
new (): boolean;
"": string;
d: string;
}