mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
481dc8dd2e
Currently if the `ENVIRONMENT_INITIALIZER` token is not configured with `multi: true` flag, the code fails while trying to iterate over the value. This commit checks whether the `ENVIRONMENT_INITIALIZER` token value type is an array and throws a helpful error message. PR Close #46829