TypeScript/tests/baselines/reference/internalAliasEnum.types
2014-08-28 12:40:58 -07:00

35 lines
461 B
Plaintext

=== tests/cases/compiler/internalAliasEnum.ts ===
module a {
>a : typeof a
export enum weekend {
>weekend : weekend
Friday,
>Friday : weekend
Saturday,
>Saturday : weekend
Sunday
>Sunday : weekend
}
}
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
>b : typeof b
>Sunday : b
}