mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
b887b30092
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
30 lines
600 B
TypeScript
30 lines
600 B
TypeScript
// @target: esnext
|
|
// @noTypesAndSymbols: true
|
|
|
|
abstract class C1 {
|
|
accessor a: any;
|
|
public accessor b: any;
|
|
private accessor c: any;
|
|
protected accessor d: any;
|
|
abstract accessor e: any;
|
|
static accessor f: any;
|
|
public static accessor g: any;
|
|
private static accessor h: any;
|
|
protected static accessor i: any;
|
|
accessor #j: any;
|
|
accessor "k": any;
|
|
accessor 108: any;
|
|
accessor ["m"]: any;
|
|
accessor n!: number;
|
|
}
|
|
|
|
class C2 extends C1 {
|
|
override accessor e: any;
|
|
static override accessor i: any;
|
|
}
|
|
|
|
declare class C3 {
|
|
accessor a: any;
|
|
}
|
|
|