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

9 lines
133 B
TypeScript

// @declaration: true
function f() {
class C {
public baz = 1;
static foo() { }
public bar() { }
}
}