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

23 lines
332 B
Plaintext

=== tests/cases/compiler/internalAliasVarInsideLocalModuleWithoutExport.ts ===
export module a {
>a : typeof a
export var x = 10;
>x : number
>10 : number
}
export module c {
>c : typeof c
import b = a.x;
>b : number
>a : typeof a
>x : number
export var bVal = b;
>bVal : number
>b : number
}