mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
8 lines
167 B
TypeScript
8 lines
167 B
TypeScript
// @target: es5
|
|
var methodName = "method";
|
|
var accessorName = "accessor";
|
|
class C {
|
|
[methodName](v: string);
|
|
[methodName]();
|
|
[methodName](v?: string) { }
|
|
} |