2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/internalAliasVarInsideLocalModuleWithExport.ts ===
|
|
|
|
export module a {
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : typeof a, Symbol(a, Decl(internalAliasVarInsideLocalModuleWithExport.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(internalAliasVarInsideLocalModuleWithExport.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(internalAliasVarInsideLocalModuleWithExport.ts, 2, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export import b = a.x;
|
2015-04-13 23:01:57 +02:00
|
|
|
>b : number, Symbol(b, Decl(internalAliasVarInsideLocalModuleWithExport.ts, 4, 17))
|
|
|
|
>a : typeof a, Symbol(a, Decl(internalAliasVarInsideLocalModuleWithExport.ts, 0, 0))
|
|
|
|
>x : number, Symbol(b, Decl(internalAliasVarInsideLocalModuleWithExport.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(internalAliasVarInsideLocalModuleWithExport.ts, 6, 14))
|
|
|
|
>b : number, Symbol(b, Decl(internalAliasVarInsideLocalModuleWithExport.ts, 4, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|