=== tests/cases/compiler/genericWithCallSignatures_1.ts ===
///
class MyClass {
>MyClass : MyClass
public callableThing: CallableExtention;
>callableThing : CallableExtention
>CallableExtention : CallableExtention
public myMethod() {
>myMethod : () => void
var x = this.callableThing();
>x : string
> this.callableThing() : string
>this.callableThing() : string
>this.callableThing : CallableExtention
>this : MyClass
>callableThing : CallableExtention
}
}
=== tests/cases/compiler/genericWithCallSignatures_0.ts ===
interface Callable {
>Callable : Callable
>T : T
(): T;
>T : T
(value: T): void;
>value : T
>T : T
}
interface CallableExtention extends Callable { }
>CallableExtention : CallableExtention
>T : T
>Callable : Callable
>T : T