2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithExport.ts ===
|
|
|
|
export module a {
|
2014-08-28 21:40:58 +02:00
|
|
|
>a : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module b {
|
2014-08-28 21:40:58 +02:00
|
|
|
>b : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export interface I {
|
|
|
|
>I : I
|
|
|
|
|
|
|
|
foo();
|
|
|
|
>foo : () => any
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export module c {
|
2014-08-28 21:40:58 +02:00
|
|
|
>c : typeof c
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export import b = a.b;
|
2014-08-28 21:40:58 +02:00
|
|
|
>b : unknown
|
|
|
|
>a : unknown
|
|
|
|
>b : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x: b.I;
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : b.I
|
2014-08-28 21:40:58 +02:00
|
|
|
>b : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>I : b.I
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
x.foo();
|
|
|
|
>x.foo() : any
|
|
|
|
>x.foo : () => any
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : b.I
|
2014-08-15 23:33:16 +02:00
|
|
|
>foo : () => any
|
|
|
|
}
|