TypeScript/tests/baselines/reference/internalAliasUninitializedModule.types
2015-04-15 16:44:20 -07:00

36 lines
445 B
Plaintext

=== tests/cases/compiler/internalAliasUninitializedModule.ts ===
module a {
>a : any
export module b {
>b : any
export interface I {
>I : I
foo();
>foo : () => any
}
}
}
module c {
>c : typeof c
import b = a.b;
>b : any
>a : any
>b : any
export var x: b.I;
>x : b.I
>b : any
>I : b.I
x.foo();
>x.foo() : any
>x.foo : () => any
>x : b.I
>foo : () => any
}