TypeScript/tests/baselines/reference/internalAliasVarInsideLocalModuleWithoutExport.types

23 lines
332 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalAliasVarInsideLocalModuleWithoutExport.ts ===
export module a {
>a : typeof a
2014-08-15 23:33:16 +02:00
export var x = 10;
>x : number
2015-04-13 21:36:11 +02:00
>10 : number
2014-08-15 23:33:16 +02:00
}
export module c {
>c : typeof c
2014-08-15 23:33:16 +02:00
import b = a.x;
>b : number
>a : typeof a
>x : number
2014-08-15 23:33:16 +02:00
export var bVal = b;
>bVal : number
>b : number
2014-08-15 23:33:16 +02:00
}