//// [inheritedModuleMembersForClodule.ts] class C { static foo(): string { return "123"; } } class D extends C { } module D { export function foo(): number { return 0; }; } class E extends D { static bar() { return this.foo(); } } //// [inheritedModuleMembersForClodule.js] var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var C = (function () { function C() { } C.foo = function () { return "123"; }; return C; })(); var D = (function (_super) { __extends(D, _super); function D() { _super.apply(this, arguments); } return D; })(C); var D; (function (D) { function foo() { return 0; } D.foo = foo; ; })(D || (D = {})); var E = (function (_super) { __extends(E, _super); function E() { _super.apply(this, arguments); } E.bar = function () { return this.foo(); }; return E; })(D);