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

33 lines
429 B
Plaintext

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