mirror of
https://github.com/angular/angular.git
synced 2026-11-30 10:27:51 -05:00
Previously, the `createEnvironmentInjector` function allowed creating an instance of an EnvironmentInjector without providing a parent injector. This resulted in an injector instance, which was detached from the DI tree, thus having limited value. This commit updates the types of the `createEnvironmentInjector` function to make the parent injector a required argument. PR Close #46397