23 lines
320 B
TypeScript
23 lines
320 B
TypeScript
|
// @noEmit: true
|
||
|
// @checkJs: true
|
||
|
// @allowJs: true
|
||
|
// @Filename: bug24703.js
|
||
|
var Common = {};
|
||
|
Common.I = class {
|
||
|
constructor() {
|
||
|
this.i = 1
|
||
|
}
|
||
|
}
|
||
|
Common.O = class extends Common.I {
|
||
|
constructor() {
|
||
|
super()
|
||
|
this.o = 2
|
||
|
}
|
||
|
}
|
||
|
var o = new Common.O()
|
||
|
var i = new Common.I()
|
||
|
o.i
|
||
|
o.o
|
||
|
i.i
|
||
|
|