TypeScript/tests/cases/compiler/addMoreCallSignaturesToBaseSignature.ts

11 lines
132 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
interface Foo {
(): string;
}
interface Bar extends Foo {
(key: string): string;
}
var a: Bar;
var kitty = a();