TypeScript/tests/baselines/reference/internalAliasInitializedModule.types
2014-08-28 12:40:58 -07:00

31 lines
429 B
Plaintext

=== 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
}