TypeScript/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.js

22 lines
457 B
JavaScript
Raw Normal View History

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