mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +03:00
16 lines
356 B
TypeScript
16 lines
356 B
TypeScript
// @target: es3, es5
|
|
// @declaration: true
|
|
// ok to use accessors in ambient class in ES3
|
|
declare class C {
|
|
static get a(): string;
|
|
static set a(value: string);
|
|
|
|
private static get b(): string;
|
|
private static set b(foo: string);
|
|
|
|
get x(): string;
|
|
set x(value: string);
|
|
|
|
private get y(): string;
|
|
private set y(foo: string);
|
|
} |