mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +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;
|
|
} |