mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
17 lines
229 B
TypeScript
17 lines
229 B
TypeScript
// @noImplicitOverride: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
// @Filename: a.js
|
|
|
|
class B {
|
|
foo (v) {}
|
|
fooo (v) {}
|
|
}
|
|
|
|
class D extends B {
|
|
override foo (v) {}
|
|
/** @override */
|
|
fooo (v) {}
|
|
}
|