mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +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() { }
|
|
} |