23 lines
790 B
Text
23 lines
790 B
Text
=== tests/cases/compiler/addMoreCallSignaturesToBaseSignature.ts ===
|
|
interface Foo {
|
|
>Foo : Symbol(Foo, Decl(addMoreCallSignaturesToBaseSignature.ts, 0, 0))
|
|
|
|
(): string;
|
|
}
|
|
|
|
interface Bar extends Foo {
|
|
>Bar : Symbol(Bar, Decl(addMoreCallSignaturesToBaseSignature.ts, 2, 1))
|
|
>Foo : Symbol(Foo, Decl(addMoreCallSignaturesToBaseSignature.ts, 0, 0))
|
|
|
|
(key: string): string;
|
|
>key : Symbol(key, Decl(addMoreCallSignaturesToBaseSignature.ts, 5, 5))
|
|
}
|
|
|
|
var a: Bar;
|
|
>a : Symbol(a, Decl(addMoreCallSignaturesToBaseSignature.ts, 8, 3))
|
|
>Bar : Symbol(Bar, Decl(addMoreCallSignaturesToBaseSignature.ts, 2, 1))
|
|
|
|
var kitty = a();
|
|
>kitty : Symbol(kitty, Decl(addMoreCallSignaturesToBaseSignature.ts, 9, 3))
|
|
>a : Symbol(a, Decl(addMoreCallSignaturesToBaseSignature.ts, 8, 3))
|
|
|