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

7 lines
149 B
TypeScript

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