mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
12 lines
218 B
TypeScript
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() { }
|
||
|
}
|