28 lines
584 B
TypeScript
28 lines
584 B
TypeScript
//// [moduleReopenedTypeSameBlock.ts]
|
|
module M { export class C1 { } }
|
|
module M {
|
|
export interface I { n: number; }
|
|
export class C2 { f(): I { return null; } }
|
|
}
|
|
|
|
|
|
//// [moduleReopenedTypeSameBlock.js]
|
|
var M;
|
|
(function (M) {
|
|
var C1 = (function () {
|
|
function C1() {
|
|
}
|
|
return C1;
|
|
})();
|
|
M.C1 = C1;
|
|
})(M || (M = {}));
|
|
var M;
|
|
(function (M) {
|
|
var C2 = (function () {
|
|
function C2() {
|
|
}
|
|
C2.prototype.f = function () { return null; };
|
|
return C2;
|
|
})();
|
|
M.C2 = C2;
|
|
})(M || (M = {}));
|