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

9 lines
173 B
TypeScript

// @target: es6
class C {
interface = 10;
public implements() { }
public foo(arguments: any) { }
private bar(eval:any) {
arguments = "hello";
}
}