2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithExport.ts ===
|
|
|
|
export module a {
|
|
|
|
>a : typeof a
|
|
|
|
|
|
|
|
export module b {
|
|
|
|
>b : typeof b
|
|
|
|
|
|
|
|
export class c {
|
|
|
|
>c : c
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export module c {
|
|
|
|
>c : typeof c
|
|
|
|
|
|
|
|
export import b = a.b;
|
|
|
|
>b : typeof b
|
2014-08-19 04:56:03 +02:00
|
|
|
>a : typeof a
|
2014-08-15 23:33:16 +02:00
|
|
|
>b : typeof b
|
|
|
|
|
|
|
|
export var x: b.c = new b.c();
|
|
|
|
>x : c
|
|
|
|
>b : b
|
|
|
|
>c : c
|
|
|
|
>new b.c() : c
|
|
|
|
>b.c : typeof c
|
|
|
|
>b : typeof b
|
|
|
|
>c : typeof c
|
|
|
|
}
|