mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +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() { }
|
|
} |