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

24 lines
263 B
TypeScript
Raw Normal View History

// @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;
}
}