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

9 lines
137 B
TypeScript
Raw Normal View History

// @target: esnext, es2022, es2015, es5
class A {
static bar = A.foo + 1
static {
A.foo + 2;
}
static foo = 1;
}