mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
16 lines
240 B
TypeScript
16 lines
240 B
TypeScript
class C {
|
|
static get x() { return 1; }
|
|
static get x() { return 1; } // error
|
|
}
|
|
|
|
class D {
|
|
static set x(v) { }
|
|
static set x(v) { } // error
|
|
}
|
|
|
|
class E {
|
|
static get x() {
|
|
return 1;
|
|
}
|
|
static set x(v) { }
|
|
} |