2014-07-13 01:04:16 +02:00
|
|
|
//// [internalAliasInitializedModuleInsideTopLevelModuleWithExport.ts]
|
|
|
|
export module a {
|
|
|
|
export module b {
|
|
|
|
export class c {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export import b = a.b;
|
|
|
|
export var x: b.c = new b.c();
|
|
|
|
|
|
|
|
//// [internalAliasInitializedModuleInsideTopLevelModuleWithExport.js]
|
2014-09-07 02:40:19 +02:00
|
|
|
var a;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (a) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var b;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (b) {
|
|
|
|
var c = (function () {
|
|
|
|
function c() {
|
|
|
|
}
|
|
|
|
return c;
|
|
|
|
})();
|
|
|
|
b.c = c;
|
2014-09-07 02:40:19 +02:00
|
|
|
})(b = a.b || (a.b = {}));
|
|
|
|
})(a = exports.a || (exports.a = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
exports.b = a.b;
|
|
|
|
exports.x = new exports.b.c();
|
|
|
|
|
|
|
|
|
|
|
|
//// [internalAliasInitializedModuleInsideTopLevelModuleWithExport.d.ts]
|
|
|
|
export declare module a {
|
|
|
|
module b {
|
|
|
|
class c {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export import b = a.b;
|
2014-07-15 21:53:37 +02:00
|
|
|
export declare var x: b.c;
|