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