a4f9bf0fce
* Create type aliases for unresolved type symbols * Accept new baselines * Update fourslash tests * Unresolved import aliases create tagged unresolved symbols * Add comments * Accept new baselines * Add fourslash tests
36 lines
516 B
Plaintext
36 lines
516 B
Plaintext
=== tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts ===
|
|
export module a {
|
|
export module b {
|
|
export interface I {
|
|
foo();
|
|
>foo : () => any
|
|
}
|
|
}
|
|
}
|
|
|
|
export 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
|
|
|
|
x.foo();
|
|
>x.foo() : any
|
|
>x.foo : () => any
|
|
>x : b.I
|
|
>foo : () => any
|
|
}
|
|
|
|
|
|
export var z: c.b.I;
|
|
>z : c.b.I
|
|
>c : any
|
|
>b : any
|
|
|