23 lines
469 B
TypeScript
23 lines
469 B
TypeScript
//// [internalAliasVarInsideLocalModuleWithoutExportAccessError.ts]
|
|
export module a {
|
|
export var x = 10;
|
|
}
|
|
|
|
export module c {
|
|
import b = a.x;
|
|
export var bVal = b;
|
|
}
|
|
|
|
export var z = c.b;
|
|
|
|
//// [internalAliasVarInsideLocalModuleWithoutExportAccessError.js]
|
|
var a;
|
|
(function (a) {
|
|
a.x = 10;
|
|
})(a = exports.a || (exports.a = {}));
|
|
var c;
|
|
(function (c) {
|
|
var b = a.x;
|
|
c.bVal = b;
|
|
})(c = exports.c || (exports.c = {}));
|
|
exports.z = c.b;
|