//// [genericClassImplementingGenericInterfaceFromAnotherModule.ts] module foo { export interface IFoo { } } module bar { export class Foo implements foo.IFoo { } } //// [genericClassImplementingGenericInterfaceFromAnotherModule.js] var bar; (function (bar) { var Foo = (function () { function Foo() { } return Foo; })(); bar.Foo = Foo; })(bar || (bar = {})); //// [genericClassImplementingGenericInterfaceFromAnotherModule.d.ts] declare module foo { interface IFoo { } } declare module bar { class Foo implements foo.IFoo { } }