c6c2c4c8d5
* Hoist initial assignment to exported names in cjs to they are not blocked by bindings made by __exportStar * Copy hoisted identifiers so they do not create sourcemaps * Accept updated baselines
48 lines
991 B
TypeScript
48 lines
991 B
TypeScript
//// [internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts]
|
|
export module a {
|
|
export module b {
|
|
export class c {
|
|
}
|
|
}
|
|
}
|
|
|
|
export module c {
|
|
import b = a.b;
|
|
export var x: b.c = new b.c();
|
|
}
|
|
|
|
//// [internalAliasInitializedModuleInsideLocalModuleWithoutExport.js]
|
|
"use strict";
|
|
exports.__esModule = true;
|
|
exports.c = exports.a = void 0;
|
|
var a;
|
|
(function (a) {
|
|
var b;
|
|
(function (b) {
|
|
var c = /** @class */ (function () {
|
|
function c() {
|
|
}
|
|
return c;
|
|
}());
|
|
b.c = c;
|
|
})(b = a.b || (a.b = {}));
|
|
})(a = exports.a || (exports.a = {}));
|
|
var c;
|
|
(function (c) {
|
|
var b = a.b;
|
|
c.x = new b.c();
|
|
})(c = exports.c || (exports.c = {}));
|
|
|
|
|
|
//// [internalAliasInitializedModuleInsideLocalModuleWithoutExport.d.ts]
|
|
export declare module a {
|
|
module b {
|
|
class c {
|
|
}
|
|
}
|
|
}
|
|
export declare module c {
|
|
import b = a.b;
|
|
var x: b.c;
|
|
}
|