We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
makeEnvironmentProviders
1 parent ea4a211 commit adac95cCopy full SHA for adac95c
packages/core/src/di/provider_collection.ts
@@ -40,6 +40,8 @@ import {INJECTOR_DEF_TYPES} from './internal_tokens';
40
/**
41
* Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally
42
* referenced in `@Component` in a component injector.
43
+ *
44
+ * @publicApi
45
*/
46
export function makeEnvironmentProviders(
47
providers: (Provider | EnvironmentProviders)[],
0 commit comments