mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
26 lines
353 B
TypeScript
26 lines
353 B
TypeScript
// @noImplicitOverride: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
// @Filename: a.js
|
|
|
|
class B {
|
|
foo (v) {}
|
|
fooo (v) {}
|
|
}
|
|
|
|
class D extends B {
|
|
foo (v) {}
|
|
/** @override */
|
|
fooo (v) {}
|
|
/** @override */
|
|
bar(v) {}
|
|
}
|
|
|
|
class C {
|
|
foo () {}
|
|
/** @override */
|
|
fooo (v) {}
|
|
/** @override */
|
|
bar(v) {}
|
|
} |