TypeScript/tests/cases/compiler/classIndexer4.ts

10 lines
137 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
class C123 {
[s: string]: number;
constructor() {
}
}
interface D123 extends C123 {
x: number;
y: string;
}