30 lines
1.5 KiB
Text
30 lines
1.5 KiB
Text
=== tests/cases/compiler/internalAliasEnumInsideTopLevelModuleWithoutExport.ts ===
|
|
export module a {
|
|
>a : typeof a, Symbol(a,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,0,0))
|
|
|
|
export enum weekend {
|
|
>weekend : weekend, Symbol(weekend,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,0,17))
|
|
|
|
Friday,
|
|
>Friday : weekend, Symbol(b.Friday,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,1,25))
|
|
|
|
Saturday,
|
|
>Saturday : weekend, Symbol(b.Saturday,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,2,15))
|
|
|
|
Sunday
|
|
>Sunday : weekend, Symbol(b.Sunday,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,3,17))
|
|
}
|
|
}
|
|
|
|
import b = a.weekend;
|
|
>b : typeof b, Symbol(b,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,6,1))
|
|
>a : typeof a, Symbol(a,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,0,0))
|
|
>weekend : b, Symbol(b,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,0,17))
|
|
|
|
export var bVal: b = b.Sunday;
|
|
>bVal : b, Symbol(bVal,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,9,10))
|
|
>b : b, Symbol(b,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,6,1))
|
|
>b.Sunday : b, Symbol(b.Sunday,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,3,17))
|
|
>b : typeof b, Symbol(b,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,6,1))
|
|
>Sunday : b, Symbol(b.Sunday,Decl(internalAliasEnumInsideTopLevelModuleWithoutExport.ts,3,17))
|
|
|