TypeScript/tests/baselines/reference/interfaceInReopenedModule.js

25 lines
471 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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]
2014-08-14 15:53:37 +02:00
// In second instance of same module, exported interface is not visible
2014-07-13 01:04:16 +02:00
var m;
(function (m) {
var n = (function () {
function n() {
}
return n;
})();
m.n = n;
})(m || (m = {}));