mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
13 lines
163 B
TypeScript
13 lines
163 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;
|
|
} |