mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(core): mark makeEnvironmentProviders as public. (#60956)
`makeEnvironmentProviders` was already exported but didn't have the `@publicApi` tag. PR Close #60956
This commit is contained in:
committed by
Pawel Kozlowski
parent
2c463a4f16
commit
00dff8bfd6
@@ -40,6 +40,8 @@ import {INJECTOR_DEF_TYPES} from './internal_tokens';
|
||||
/**
|
||||
* Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally
|
||||
* referenced in `@Component` in a component injector.
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export function makeEnvironmentProviders(
|
||||
providers: (Provider | EnvironmentProviders)[],
|
||||
|
||||
Reference in New Issue
Block a user