mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
15 lines
201 B
TypeScript
15 lines
201 B
TypeScript
|
// @noImplicitOverride: true
|
||
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @noEmit: true
|
||
|
|
||
|
// @Filename: a.js
|
||
|
class A {
|
||
|
doSomething() {}
|
||
|
}
|
||
|
|
||
|
class B extends A {
|
||
|
/** @override */
|
||
|
doSomethang() {}
|
||
|
}
|