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

32 lines
443 B
Text

=== tests/cases/compiler/internalAliasUninitializedModuleInsideTopLevelModuleWithoutExport.ts ===
export module a {
>a : any
export module b {
>b : any
export interface I {
>I : I
foo();
>foo : () => any
}
}
}
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