mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit improves the reported error when importing e.g. `RouterModule.forRoot()` from within `Component.imports`. Such import is not supported, as standalone components can only refer to other standalone entities or NgModules in their `imports` array; `ModuleWithProviders` are not supported as `Component.imports` is meant to be used for the compilation scope of the component, _not_ for configuring DI. Closes #46003 PR Close #46009 |
||
|---|---|---|
| .. | ||
| compliance | ||
| ngtsc | ||
| BUILD.bazel | ||
| downlevel_decorators_transform_spec.ts | ||
| extract_i18n_spec.ts | ||
| mocks.ts | ||
| perform_compile_spec.ts | ||
| perform_watch_spec.ts | ||
| test_support.ts | ||
| typescript_support_spec.ts | ||
| version_helpers_spec.ts | ||