mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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;
|
|
} |