TypeScript/tests/baselines/reference/internalAliasInitializedModuleInsideLocalModuleWithoutExport.types

31 lines
469 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts ===
export module a {
>a : typeof a
2014-08-15 23:33:16 +02:00
export module b {
>b : typeof b
2014-08-15 23:33:16 +02:00
export class c {
>c : c
2014-08-15 23:33:16 +02:00
}
}
}
export module c {
>c : typeof c
2014-08-15 23:33:16 +02:00
import b = a.b;
>b : typeof b
>a : typeof a
>b : typeof b
2014-08-15 23:33:16 +02:00
export var x: b.c = new b.c();
>x : b.c
>b : any
>c : b.c
2014-08-25 19:36:12 +02:00
>new b.c() : b.c
>b.c : typeof b.c
>b : typeof b
>c : typeof b.c
2014-08-15 23:33:16 +02:00
}