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