makeEnvironmentProviders
function
Wrap an array of Provider
s into EnvironmentProviders
, preventing them from being accidentally
referenced in @Component
in a component injector.
API
function makeEnvironmentProviders( providers: (Provider | EnvironmentProviders)[]): EnvironmentProviders;
Jump to details