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;
makeEnvironmentProviders
Wrap an array of Provider
s into EnvironmentProviders
, preventing them from being accidentally
referenced in @Component
in a component injector.
@returns
EnvironmentProviders
Jump to details