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