swc/crates/swc_ecma_parser/tests/tsc/computedPropertyNamesDeclarationEmit2_ES6.ts

7 lines
149 B
TypeScript

// @target: es6
// @declaration: true
class C {
static ["" + ""]() { }
static get ["" + ""]() { return 0; }
static set ["" + ""](x) { }
}