22 lines
320 B
Text
22 lines
320 B
Text
|
=== tests/cases/compiler/internalAliasVarInsideLocalModuleWithExport.ts ===
|
||
|
export module a {
|
||
|
>a : typeof a
|
||
|
|
||
|
export var x = 10;
|
||
|
>x : number
|
||
|
}
|
||
|
|
||
|
export module c {
|
||
|
>c : typeof c
|
||
|
|
||
|
export import b = a.x;
|
||
|
>b : number
|
||
|
>a : number
|
||
|
>x : number
|
||
|
|
||
|
export var bVal = b;
|
||
|
>bVal : number
|
||
|
>b : number
|
||
|
}
|
||
|
|