13 lines
No EOL
175 B
TypeScript
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;
|
|
} |