2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts ===
|
|
|
|
export module a {
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : typeof a, Symbol(a, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module b {
|
2015-04-13 23:01:57 +02:00
|
|
|
>b : typeof b, Symbol(b, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 0, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class c {
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : c, Symbol(c, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 1, 21))
|
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(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 5, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
import b = a.b;
|
2015-04-13 23:01:57 +02:00
|
|
|
>b : typeof b, Symbol(b, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 7, 17))
|
|
|
|
>a : typeof a, Symbol(a, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 0, 0))
|
|
|
|
>b : typeof b, Symbol(b, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 0, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x: b.c = new b.c();
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : b.c, Symbol(x, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 9, 14))
|
|
|
|
>b : any, Symbol(b, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 7, 17))
|
|
|
|
>c : b.c, Symbol(b.c, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 1, 21))
|
2014-08-25 19:36:12 +02:00
|
|
|
>new b.c() : b.c
|
2015-04-13 23:01:57 +02:00
|
|
|
>b.c : typeof b.c, Symbol(b.c, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 1, 21))
|
|
|
|
>b : typeof b, Symbol(b, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 7, 17))
|
|
|
|
>c : typeof b.c, Symbol(b.c, Decl(internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts, 1, 21))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|