30 lines
473 B
Text
30 lines
473 B
Text
=== 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
|
|
>a : typeof a
|
|
>b : typeof b
|
|
|
|
export var x: b.c = new b.c();
|
|
>x : b.c
|
|
>b : any
|
|
>c : b.c
|
|
>new b.c() : b.c
|
|
>b.c : typeof b.c
|
|
>b : typeof b
|
|
>c : typeof b.c
|
|
}
|