24 lines
398 B
JavaScript
24 lines
398 B
JavaScript
|
//// [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]
|
||
|
var m;
|
||
|
(function (m) {
|
||
|
var n = (function () {
|
||
|
function n() {
|
||
|
}
|
||
|
return n;
|
||
|
})();
|
||
|
m.n = n;
|
||
|
})(m || (m = {}));
|