//// [tests/cases/compiler/genericWithCallSignatures1.ts] //// //// [genericWithCallSignatures_0.ts] interface Callable { (): T; (value: T): void; } interface CallableExtention extends Callable { } //// [genericWithCallSignatures_1.ts] /// class MyClass { public callableThing: CallableExtention; public myMethod() { var x = this.callableThing(); } } //// [genericWithCallSignatures_0.js] //// [genericWithCallSignatures_1.js] /// var MyClass = (function () { function MyClass() { } MyClass.prototype.myMethod = function () { var x = this.callableThing(); }; return MyClass; })();