39 lines
1,021 B
TypeScript
39 lines
1,021 B
TypeScript
//// [internalAliasEnumInsideTopLevelModuleWithExport.ts]
|
|
export module a {
|
|
export enum weekend {
|
|
Friday,
|
|
Saturday,
|
|
Sunday
|
|
}
|
|
}
|
|
|
|
export import b = a.weekend;
|
|
export var bVal: b = b.Sunday;
|
|
|
|
|
|
//// [internalAliasEnumInsideTopLevelModuleWithExport.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
var a;
|
|
(function (a) {
|
|
(function (weekend) {
|
|
weekend[weekend["Friday"] = 0] = "Friday";
|
|
weekend[weekend["Saturday"] = 1] = "Saturday";
|
|
weekend[weekend["Sunday"] = 2] = "Sunday";
|
|
})(a.weekend || (a.weekend = {}));
|
|
var weekend = a.weekend;
|
|
})(a = exports.a || (exports.a = {}));
|
|
exports.b = a.weekend;
|
|
exports.bVal = exports.b.Sunday;
|
|
});
|
|
|
|
|
|
//// [internalAliasEnumInsideTopLevelModuleWithExport.d.ts]
|
|
export declare module a {
|
|
enum weekend {
|
|
Friday = 0,
|
|
Saturday = 1,
|
|
Sunday = 2,
|
|
}
|
|
}
|
|
export import b = a.weekend;
|
|
export declare var bVal: b;
|