2014-07-13 01:04:16 +02:00
|
|
|
//// [internalAliasVarInsideLocalModuleWithoutExport.ts]
|
|
|
|
export module a {
|
|
|
|
export var x = 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
export module c {
|
|
|
|
import b = a.x;
|
|
|
|
export var bVal = b;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//// [internalAliasVarInsideLocalModuleWithoutExport.js]
|
|
|
|
define(["require", "exports"], function (require, exports) {
|
|
|
|
(function (a) {
|
|
|
|
a.x = 10;
|
|
|
|
})(exports.a || (exports.a = {}));
|
|
|
|
var a = exports.a;
|
|
|
|
(function (c) {
|
|
|
|
var b = a.x;
|
|
|
|
c.bVal = b;
|
|
|
|
})(exports.c || (exports.c = {}));
|
|
|
|
var c = exports.c;
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
//// [internalAliasVarInsideLocalModuleWithoutExport.d.ts]
|
|
|
|
export declare module a {
|
2014-07-12 01:36:06 +02:00
|
|
|
var x: number;
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
export declare module c {
|
2014-07-12 01:36:06 +02:00
|
|
|
var bVal: number;
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|