41 lines
679 B
TypeScript
41 lines
679 B
TypeScript
//// [nonExportedElementsOfMergedModules.ts]
|
|
module One {
|
|
enum A { X }
|
|
module B {
|
|
export var x;
|
|
}
|
|
}
|
|
|
|
module One {
|
|
enum A { Y }
|
|
module B {
|
|
export var y;
|
|
}
|
|
B.x;
|
|
B.y;
|
|
}
|
|
|
|
|
|
//// [nonExportedElementsOfMergedModules.js]
|
|
var One;
|
|
(function (One) {
|
|
var A;
|
|
(function (A) {
|
|
A[A["X"] = 0] = "X";
|
|
})(A || (A = {}));
|
|
var B;
|
|
(function (B) {
|
|
})(B || (B = {}));
|
|
})(One || (One = {}));
|
|
var One;
|
|
(function (One) {
|
|
var A;
|
|
(function (A) {
|
|
A[A["Y"] = 0] = "Y";
|
|
})(A || (A = {}));
|
|
var B;
|
|
(function (B) {
|
|
})(B || (B = {}));
|
|
B.x;
|
|
B.y;
|
|
})(One || (One = {}));
|