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

16 lines
219 B
TypeScript

// @target: es2015
class B {
#foo = class {
constructor() {
console.log("hello");
}
static test = 123;
};
#foo2 = class Foo {
static otherClass = 123;
};
}