TypeScript/tests/baselines/reference/internalAliasEnum.types
2016-09-01 14:25:44 -07:00

35 lines
498 B
Plaintext

=== tests/cases/compiler/internalAliasEnum.ts ===
module a {
>a : typeof a
export enum weekend {
>weekend : weekend
Friday,
>Friday : weekend.Friday
Saturday,
>Saturday : weekend.Saturday
Sunday
>Sunday : weekend.Sunday
}
}
module c {
>c : typeof c
import b = a.weekend;
>b : typeof b
>a : typeof a
>weekend : b
export var bVal: b = b.Sunday;
>bVal : b
>b : b
>b.Sunday : b.Sunday
>b : typeof b
>Sunday : b.Sunday
}