19 lines
294 B
Text
19 lines
294 B
Text
=== tests/cases/compiler/internalAliasVarInsideTopLevelModuleWithExport.ts ===
|
|
export module a {
|
|
>a : typeof a
|
|
|
|
export var x = 10;
|
|
>x : number
|
|
>10 : number
|
|
}
|
|
|
|
export import b = a.x;
|
|
>b : number
|
|
>a : typeof a
|
|
>x : number
|
|
|
|
export var bVal = b;
|
|
>bVal : number
|
|
>b : number
|
|
|
|
|