TypeScript/tests/baselines/reference/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.types
Anders Hejlsberg a4f9bf0fce
Create type aliases for unresolved type symbols (#45976)
* 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
2021-09-23 13:21:27 -07:00

23 lines
311 B
Plaintext

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