30 lines
429 B
Text
30 lines
429 B
Text
=== tests/cases/compiler/internalAliasInitializedModule.ts ===
|
|
module a {
|
|
>a : typeof a
|
|
|
|
export module b {
|
|
>b : typeof b
|
|
|
|
export class c {
|
|
>c : c
|
|
}
|
|
}
|
|
}
|
|
|
|
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 : unknown
|
|
>c : b.c
|
|
>new b.c() : b.c
|
|
>b.c : typeof b.c
|
|
>b : typeof b
|
|
>c : typeof b.c
|
|
}
|