Files
tsgo/testdata/baselines/reference/submodule/compiler/classMergedWithInterfaceMultipleBasesNoError.js

25 lines
640 B
TypeScript

//// [tests/cases/compiler/classMergedWithInterfaceMultipleBasesNoError.ts] ////
//// [classMergedWithInterfaceMultipleBasesNoError.ts]
interface Bar { }
interface Baz { }
interface Q { }
interface Foo extends Bar, Baz { }
class Foo { }
export default class extends Foo {
readonly observer = this.handleIntersection;
readonly handleIntersection = () => { }
}
//// [classMergedWithInterfaceMultipleBasesNoError.js]
class Foo {
}
export default class extends Foo {
constructor() {
super(...arguments);
this.observer = this.handleIntersection;
this.handleIntersection = () => { };
}
}