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

18 lines
223 B
TypeScript
Raw Normal View History

// @target: esnext, es2022, es2015, es5
class B {
static a = 1;
static b = 2;
}
class C extends B {
static b = 3;
static c = super.a
static {
this.b;
super.b;
super.a;
}
}