angular/goldens/public-api
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
..
animations test: update api goldens to reflect api-golden bazel rule change (#45461) 2022-03-29 09:26:00 -07:00
common feat(common): Add BrowserPlatformLocation to the public API (#48488) 2022-12-14 09:54:28 -08:00
compiler-cli fix(compiler-cli): implement more host directive validations as diagnostics (#47768) 2022-10-17 12:12:22 +02:00
core fix(core): makeEnvironmentProviders should accept EnvironmentProviders (#48720) 2023-01-12 13:47:59 -08:00
elements test: update api goldens to reflect api-golden bazel rule change (#45461) 2022-03-29 09:26:00 -07:00
forms fix(forms): Form provider FormsModule.withConfig return a FormsModule (#48526) 2023-01-05 16:26:21 -08:00
localize refactor: update packages/localize to be strict ESM (#48521) 2022-12-19 19:50:43 +00:00
platform-browser feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
platform-browser-dynamic test: update api goldens to reflect api-golden bazel rule change (#45461) 2022-03-29 09:26:00 -07:00
platform-server feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
router docs: Deprecate class and InjectionToken and resolvers (#47924) 2023-01-11 15:01:08 -08:00
service-worker fix(service-worker): update golden index.md (#47044) 2022-08-18 12:09:10 -07:00
upgrade refactor(compiler): add support for host directives (#46868) 2022-08-22 16:00:35 -07:00
manage.js refactor(dev-infra): remove dependency on minimist (#43644) 2021-10-04 17:31:03 -07:00