swc/crates/swc_ecma_parser/tests/tsc/classStaticBlock25.ts
2022-02-04 17:08:38 +09:00

24 lines
263 B
TypeScript

// @target: esnext, es2022
// @declaration: true
// @declarationMap: true
// @sourceMap: true
const a = 1;
const b = 2;
class C {
static {
const a = 11;
a;
b;
}
static {
const a = 11;
a;
b;
}
}