17 lines
248 B
JavaScript
17 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();
|