16 lines
248 B
JavaScript
16 lines
248 B
JavaScript
//// [addMoreCallSignaturesToBaseSignature.ts]
|
|
interface Foo {
|
|
(): string;
|
|
}
|
|
|
|
interface Bar extends Foo {
|
|
(key: string): string;
|
|
}
|
|
|
|
var a: Bar;
|
|
var kitty = a();
|
|
|
|
|
|
//// [addMoreCallSignaturesToBaseSignature.js]
|
|
var a;
|
|
var kitty = a();
|