mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
25 lines
335 B
TypeScript
25 lines
335 B
TypeScript
// @noImplicitOverride: true
|
|
// @allowJs: 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) {}
|
|
} |