mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a31d8218cc
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