mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
27 lines
410 B
TypeScript
27 lines
410 B
TypeScript
// @declaration: true
|
|
// @noImplicitOverride: true
|
|
declare class B {
|
|
foo(): void
|
|
bar(): void
|
|
}
|
|
|
|
declare class D extends B {
|
|
foo (): void;
|
|
override bar (): void;
|
|
}
|
|
|
|
class DB extends B {
|
|
override foo(): void {}
|
|
override bar(): void {}
|
|
}
|
|
|
|
class DD extends D {
|
|
override foo(): void {}
|
|
override bar(): void {}
|
|
}
|
|
|
|
class EB extends D {
|
|
foo(): void {}
|
|
override bar(): void {}
|
|
}
|