TypeScript/tests/baselines/reference/mergedModuleDeclarationWithSharedExportedVar.js
2014-07-12 17:30:19 -07:00

20 lines
303 B
TypeScript

//// [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 = {}));