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 |
||
|---|---|---|
| .. | ||
| bin | ||
| ngtsc | ||
| transformers | ||
| extract_i18n.ts | ||
| main.ts | ||
| perform_compile.ts | ||
| perform_watch.ts | ||
| typescript_support.ts | ||
| version.ts | ||
| version_helpers.ts | ||