2014-07-13 01:04:16 +02:00
|
|
|
//// [internalAliasInterface.ts]
|
|
|
|
module a {
|
|
|
|
export interface I {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module c {
|
|
|
|
import b = a.I;
|
|
|
|
export var x: b;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//// [internalAliasInterface.js]
|
|
|
|
var c;
|
|
|
|
(function (c) {
|
|
|
|
c.x;
|
|
|
|
})(c || (c = {}));
|
2014-08-06 22:16:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
//// [internalAliasInterface.d.ts]
|
|
|
|
declare module a {
|
|
|
|
interface I {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
declare module c {
|
|
|
|
import b = a.I;
|
|
|
|
var x: b;
|
|
|
|
}
|