const
An InjectionToken that gets the current Injector
for createInjector()
-style injectors.
const INJECTOR: InjectionToken<Injector>;
Requesting this token instead of Injector
allows StaticInjector
to be tree-shaken from a project.
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/INJECTOR