angular/goldens/public-api/core
Alex Rickabaugh f00bf71411 fix(core): makeEnvironmentProviders should accept EnvironmentProviders (#48720)
`makeEnvironmentProviders` constructs the wrapped `EnvironmentProviders`
type, which can only be used in environment injectors (not element
injectors). It makes sense that `makeEnvironmentProviders` should be able
to accept existing `EnvironmentProviders`-wrapped providers, since it will
be providing the same guarantee, but the current types do not allow this.

This commit fixes the typings to allow nesting `EnvironmentProviders` and
adds a test to verify that it will work.

PR Close #48720
2023-01-12 13:47:59 -08:00
..
testing fix(common): Fix TestBed.overrideProvider type to include multi (#48424) 2022-12-12 09:40:22 -08:00
errors.md docs: add NG0403.md for Bootstrapped NgModule doesn't specify which component to initialize error (#48483) 2023-01-04 09:59:24 -08:00
global_utils.md refactor(core): drop RootContext object (#47056) 2022-09-13 09:21:34 -07:00
index.md fix(core): makeEnvironmentProviders should accept EnvironmentProviders (#48720) 2023-01-12 13:47:59 -08:00