TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/staticIndexers.ts
2014-07-12 17:30:19 -07:00

13 lines
No EOL
175 B
TypeScript

// static indexers not allowed
class C {
static [x: string]: string;
}
class D {
static [x: number]: string;
}
class E<T> {
static [x: string]: T;
}