1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
=== tests/cases/compiler/internalAliasEnumInsideLocalModuleWithExport.ts ===
export module a {
>a : typeof a
export enum weekend {
>weekend : weekend
Friday,
>Friday : weekend.Friday
Saturday,
>Saturday : weekend.Saturday
Sunday
>Sunday : weekend.Sunday
}
}
export module c {
>c : typeof c
export import b = a.weekend;
>b : typeof b
>a : typeof a
>weekend : b
export var bVal: b = b.Sunday;
>bVal : b
>b.Sunday : b.Sunday
>b : typeof b
>Sunday : b.Sunday
}
|