TypeScript/tests/baselines/reference/mergedModuleDeclarationWithSharedExportedVar.js

20 lines
303 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [mergedModuleDeclarationWithSharedExportedVar.ts]
module M {
export var v = 10;
v;
}
module M {
v;
}
//// [mergedModuleDeclarationWithSharedExportedVar.js]
var M;
(function (M) {
M.v = 10;
M.v;
})(M || (M = {}));
var M;
(function (M) {
M.v;
})(M || (M = {}));