mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
17 lines
249 B
TypeScript
17 lines
249 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noImplicitAny: true
|
|
// @strictNullChecks: true
|
|
// @Filename: a.js
|
|
class Base {
|
|
constructor() {
|
|
this.p = 1
|
|
}
|
|
}
|
|
class Derived extends Base {
|
|
m() {
|
|
this.p = 1
|
|
}
|
|
}
|