24 lines
471 B
TypeScript
24 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 = {}));
|