mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
353 B
TypeScript
19 lines
353 B
TypeScript
//// [tests/cases/compiler/addMoreCallSignaturesToBaseSignature2.ts] ////
|
|
|
|
//// [addMoreCallSignaturesToBaseSignature2.ts]
|
|
interface Foo {
|
|
(bar:number): string;
|
|
}
|
|
|
|
interface Bar extends Foo {
|
|
(key: string): string;
|
|
}
|
|
|
|
var a: Bar;
|
|
var kitty = a(1);
|
|
|
|
//// [addMoreCallSignaturesToBaseSignature2.js]
|
|
"use strict";
|
|
var a;
|
|
var kitty = a(1);
|