mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +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() { }
|
|
} |