1d141a8ab1
Previously declarations that were imported via a namespace import were given the same `bestGuessOwningModule` as the context where they were imported to. This causes problems with resolving `ModuleWithProviders` that have a type that has been imported in this way, causing errors like: ``` ERROR in Symbol UIRouterModule declared in .../@uirouter/angular/uiRouterNgModule.d.ts is not exported from .../@uirouter/angular/uirouter-angular.d.ts (import into .../src/app/child.module.ts) ``` This commit modifies the `TypescriptReflectionHost.getDirectImportOfIdentifier()` method so that it also understands how to attach the correct `viaModule` to the identifier of the namespace import. Resolves #32166 PR Close #33495 |
||
---|---|---|
.. | ||
commonjs_host_import_helper_spec.ts | ||
commonjs_host_spec.ts | ||
esm5_host_import_helper_spec.ts | ||
esm5_host_spec.ts | ||
esm2015_host_import_helper_spec.ts | ||
esm2015_host_spec.ts | ||
umd_host_import_helper_spec.ts | ||
umd_host_spec.ts | ||
util.ts |