2014-07-13 01:04:16 +02:00
|
|
|
//// [internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts]
|
|
|
|
export module a {
|
|
|
|
export module b {
|
|
|
|
export interface I {
|
|
|
|
foo();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export module c {
|
|
|
|
import b = a.b;
|
|
|
|
export var x: b.I;
|
|
|
|
x.foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export var z: c.b.I;
|
|
|
|
|
|
|
|
//// [internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.js]
|
|
|
|
define(["require", "exports"], function (require, exports) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var c;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (c) {
|
|
|
|
c.x;
|
|
|
|
c.x.foo();
|
2014-09-07 02:40:19 +02:00
|
|
|
})(c = exports.c || (exports.c = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
exports.z;
|
|
|
|
});
|