TypeScript/tests/baselines/reference/internalAliasWithDottedNameEmit.js

29 lines
491 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [internalAliasWithDottedNameEmit.ts]
module a.b.c {
export var d;
}
module a.e.f {
import g = b.c;
}
//// [internalAliasWithDottedNameEmit.js]
var a;
(function (a) {
var b;
2014-07-13 01:04:16 +02:00
(function (b) {
var c;
2014-07-13 01:04:16 +02:00
(function (c) {
c.d;
})(c = b.c || (b.c = {}));
})(b = a.b || (a.b = {}));
2014-07-13 01:04:16 +02:00
})(a || (a = {}));
//// [internalAliasWithDottedNameEmit.d.ts]
declare module a.b.c {
var d: any;
}
declare module a.e.f {
}