TypeScript/tests/baselines/reference/interfaceInReopenedModule.js
2014-08-14 06:53:37 -07:00

25 lines
471 B
TypeScript

//// [interfaceInReopenedModule.ts]
module m {
}
// In second instance of same module, exported interface is not visible
module m {
interface f {}
export class n {
private n: f;
}
}
//// [interfaceInReopenedModule.js]
// In second instance of same module, exported interface is not visible
var m;
(function (m) {
var n = (function () {
function n() {
}
return n;
})();
m.n = n;
})(m || (m = {}));