swc/crates/swc_ecma_parser/tests/tsc/override_js3.ts
2022-02-04 17:08:38 +09:00

17 lines
229 B
TypeScript

// @noImplicitOverride: true
// @allowJs: true
// @checkJs: true
// @noEmit: true
// @Filename: a.js
class B {
foo (v) {}
fooo (v) {}
}
class D extends B {
override foo (v) {}
/** @override */
fooo (v) {}
}