2014-07-13 01:04:16 +02:00
|
|
|
//// [mergedDeclarations4.ts]
|
|
|
|
module M {
|
|
|
|
export function f() { }
|
|
|
|
f();
|
|
|
|
M.f();
|
|
|
|
var r = f.hello;
|
|
|
|
}
|
|
|
|
|
|
|
|
module M {
|
|
|
|
export module f {
|
|
|
|
export var hello = 1;
|
|
|
|
}
|
|
|
|
f();
|
|
|
|
M.f();
|
|
|
|
var r = f.hello;
|
|
|
|
}
|
|
|
|
|
|
|
|
M.f();
|
|
|
|
M.f.hello;
|
|
|
|
|
|
|
|
//// [mergedDeclarations4.js]
|
|
|
|
var M;
|
|
|
|
(function (M) {
|
2015-02-07 03:45:09 +01:00
|
|
|
function f() { }
|
2014-07-13 01:04:16 +02:00
|
|
|
M.f = f;
|
|
|
|
f();
|
|
|
|
M.f();
|
|
|
|
var r = f.hello;
|
|
|
|
})(M || (M = {}));
|
|
|
|
var M;
|
|
|
|
(function (M) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var f;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (f) {
|
|
|
|
f.hello = 1;
|
2014-09-07 02:40:19 +02:00
|
|
|
})(f = M.f || (M.f = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
f();
|
|
|
|
M.f();
|
|
|
|
var r = f.hello;
|
|
|
|
})(M || (M = {}));
|
|
|
|
M.f();
|
|
|
|
M.f.hello;
|