TypeScript/tests/baselines/reference/internalAliasEnum.types
2014-08-18 19:56:03 -07:00

34 lines
503 B
Text

=== 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 weekend
>a : typeof a
>weekend : weekend
export var bVal: b = b.Sunday;
>bVal : weekend
>b : weekend
>b.Sunday : weekend
>b : typeof weekend
>Sunday : weekend
}