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