TypeScript/tests/baselines/reference/internalAliasInitializedModuleInsideTopLevelModuleWithoutExport.types
2014-08-15 14:37:48 -07:00

28 lines
415 B
Plaintext

=== tests/cases/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithoutExport.ts ===
export module a {
>a : typeof a
export module b {
>b : typeof b
export class c {
>c : c
}
}
}
import b = a.b;
>b : typeof b
>a : typeof b
>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