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

6 lines
73 B
TypeScript

//@target: ES6
class C {
// yes ASI
[e] = id++
[e2]: number
}