TypeScript/tests/baselines/reference/internalAliasInitializedModuleInsideTopLevelModuleWithExport.types

28 lines
419 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithExport.ts ===
export module a {
>a : typeof a
export module b {
>b : typeof b
export class c {
>c : c
}
}
}
export import b = a.b;
>b : typeof b
>a : typeof a
2014-08-15 23:33:16 +02:00
>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