mirror of
https://github.com/angular/angular.git
synced 2026-11-24 15:37:51 -05:00
This commit updates the error message to use correct info depending on whether a component is standalone or not. Previously we were always referring to @NgModules as a place to fix the issue, but not we also mention @Component when needed (for standalone components). PR Close #46159