=== tests/cases/compiler/genericWithCallSignatures_1.ts ===
///
class MyClass {
>MyClass : MyClass, Symbol(MyClass, Decl(genericWithCallSignatures_1.ts, 0, 0))
public callableThing: CallableExtention;
>callableThing : CallableExtention, Symbol(callableThing, Decl(genericWithCallSignatures_1.ts, 1, 15))
>CallableExtention : CallableExtention, Symbol(CallableExtention, Decl(genericWithCallSignatures_0.ts, 3, 1))
public myMethod() {
>myMethod : () => void, Symbol(myMethod, Decl(genericWithCallSignatures_1.ts, 2, 52))
var x = this.callableThing();
>x : string, Symbol(x, Decl(genericWithCallSignatures_1.ts, 5, 11))
> this.callableThing() : string
>this.callableThing() : string
>this.callableThing : CallableExtention, Symbol(callableThing, Decl(genericWithCallSignatures_1.ts, 1, 15))
>this : MyClass, Symbol(MyClass, Decl(genericWithCallSignatures_1.ts, 0, 0))
>callableThing : CallableExtention, Symbol(callableThing, Decl(genericWithCallSignatures_1.ts, 1, 15))
}
}
=== tests/cases/compiler/genericWithCallSignatures_0.ts ===
interface Callable {
>Callable : Callable, Symbol(Callable, Decl(genericWithCallSignatures_0.ts, 0, 0))
>T : T, Symbol(T, Decl(genericWithCallSignatures_0.ts, 0, 19))
(): T;
>T : T, Symbol(T, Decl(genericWithCallSignatures_0.ts, 0, 19))
(value: T): void;
>value : T, Symbol(value, Decl(genericWithCallSignatures_0.ts, 2, 5))
>T : T, Symbol(T, Decl(genericWithCallSignatures_0.ts, 0, 19))
}
interface CallableExtention extends Callable { }
>CallableExtention : CallableExtention, Symbol(CallableExtention, Decl(genericWithCallSignatures_0.ts, 3, 1))
>T : T, Symbol(T, Decl(genericWithCallSignatures_0.ts, 5, 28))
>Callable : Callable, Symbol(Callable, Decl(genericWithCallSignatures_0.ts, 0, 0))
>T : T, Symbol(T, Decl(genericWithCallSignatures_0.ts, 5, 28))