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

12 lines
218 B
TypeScript

// @declaration: true
// @noImplicitOverride: true
abstract class Base {
abstract foo(): unknown;
abstract bar(): void;
}
abstract class Sub extends Base {
abstract override foo(): number;
bar() { }
}