30 lines
469 B
Text
30 lines
469 B
Text
=== tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts ===
|
|
export module a {
|
|
>a : typeof a
|
|
|
|
export module b {
|
|
>b : typeof b
|
|
|
|
export class c {
|
|
>c : c
|
|
}
|
|
}
|
|
}
|
|
|
|
export module c {
|
|
>c : typeof c
|
|
|
|
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
|
|
}
|