swc/crates/swc_ecma_parser/tests/tsc/interfaceWithCallSignaturesThatHidesBaseSignature.ts

10 lines
139 B
TypeScript

interface Foo {
(): { a: number };
}
interface Derived extends Foo {
(): { a: number; b: number };
}
var d: Derived;
var r = d();