2014-07-13 01:04:16 +02:00
|
|
|
//// [internalAliasUninitializedModuleInsideLocalModuleWithExport.ts]
|
|
|
|
export module a {
|
|
|
|
export module b {
|
|
|
|
export interface I {
|
|
|
|
foo();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export module c {
|
|
|
|
export import b = a.b;
|
|
|
|
export var x: b.I;
|
|
|
|
x.foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [internalAliasUninitializedModuleInsideLocalModuleWithExport.js]
|
|
|
|
(function (c) {
|
|
|
|
c.x;
|
|
|
|
c.x.foo();
|
|
|
|
})(exports.c || (exports.c = {}));
|
|
|
|
var c = exports.c;
|
|
|
|
|
|
|
|
|
|
|
|
//// [internalAliasUninitializedModuleInsideLocalModuleWithExport.d.ts]
|
|
|
|
export declare module a {
|
|
|
|
module b {
|
|
|
|
interface I {
|
2014-07-12 01:36:06 +02:00
|
|
|
foo(): any;
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export declare module c {
|
|
|
|
export import b = a.b;
|
2014-07-15 21:53:37 +02:00
|
|
|
var x: b.I;
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|