2014-07-13 01:04:16 +02:00
|
|
|
//// [internalAliasEnumInsideLocalModuleWithoutExportAccessError.ts]
|
|
|
|
export module a {
|
|
|
|
export enum weekend {
|
|
|
|
Friday,
|
|
|
|
Saturday,
|
|
|
|
Sunday
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export module c {
|
|
|
|
import b = a.weekend;
|
|
|
|
export var bVal: b = b.Sunday;
|
|
|
|
}
|
|
|
|
|
|
|
|
var happyFriday = c.b.Friday;
|
|
|
|
|
|
|
|
//// [internalAliasEnumInsideLocalModuleWithoutExportAccessError.js]
|
2014-09-07 02:40:19 +02:00
|
|
|
var a;
|
2014-07-13 01:04:16 +02:00
|
|
|
(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;
|
2014-09-07 02:40:19 +02:00
|
|
|
})(a = exports.a || (exports.a = {}));
|
|
|
|
var c;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (c) {
|
|
|
|
var b = a.weekend;
|
|
|
|
c.bVal = 2 /* Sunday */;
|
2014-09-07 02:40:19 +02:00
|
|
|
})(c = exports.c || (exports.c = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
var happyFriday = c.b.Friday;
|