32 lines
443 B
Text
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
|
|
|