TypeScript/tests/baselines/reference/internalAliasEnumInsideTopLevelModuleWithoutExport.types
2015-04-15 16:44:20 -07:00

31 lines
461 B
Plaintext

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