TypeScript/tests/baselines/reference/internalAliasVarInsideLocalModuleWithoutExport.types

23 lines
932 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalAliasVarInsideLocalModuleWithoutExport.ts ===
export module a {
2015-04-13 23:01:57 +02:00
>a : typeof a, Symbol(a, Decl(internalAliasVarInsideLocalModuleWithoutExport.ts, 0, 0))
2014-08-15 23:33:16 +02:00
export var x = 10;
2015-04-13 23:01:57 +02:00
>x : number, Symbol(x, Decl(internalAliasVarInsideLocalModuleWithoutExport.ts, 1, 14))
2015-04-13 21:36:11 +02:00
>10 : number
2014-08-15 23:33:16 +02:00
}
export module c {
2015-04-13 23:01:57 +02:00
>c : typeof c, Symbol(c, Decl(internalAliasVarInsideLocalModuleWithoutExport.ts, 2, 1))
2014-08-15 23:33:16 +02:00
import b = a.x;
2015-04-13 23:01:57 +02:00
>b : number, Symbol(b, Decl(internalAliasVarInsideLocalModuleWithoutExport.ts, 4, 17))
>a : typeof a, Symbol(a, Decl(internalAliasVarInsideLocalModuleWithoutExport.ts, 0, 0))
>x : number, Symbol(b, Decl(internalAliasVarInsideLocalModuleWithoutExport.ts, 1, 14))
2014-08-15 23:33:16 +02:00
export var bVal = b;
2015-04-13 23:01:57 +02:00
>bVal : number, Symbol(bVal, Decl(internalAliasVarInsideLocalModuleWithoutExport.ts, 6, 14))
>b : number, Symbol(b, Decl(internalAliasVarInsideLocalModuleWithoutExport.ts, 4, 17))
2014-08-15 23:33:16 +02:00
}