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