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 |
||
---|---|---|
.. | ||
fake_core | ||
BUILD.bazel | ||
component_indexing_spec.ts | ||
env.ts | ||
incremental_spec.ts | ||
ngtsc_spec.ts | ||
scope_spec.ts | ||
sourcemap_utils.ts | ||
template_mapping_spec.ts | ||
template_typecheck_spec.ts |