function
Wrap an array of Provider
s into EnvironmentProviders
, preventing them from being accidentally referenced in `@Component in a component injector.
makeEnvironmentProviders(providers: (Provider | EnvironmentProviders)[]): EnvironmentProviders
providers | (Provider | EnvironmentProviders)[] |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/makeEnvironmentProviders