W3cubDocs

/Angular 11

INJECTOR

const

An InjectionToken that gets the current Injector for createInjector()-style injectors.

See more...

const INJECTOR: InjectionToken<Injector>;

Description

Requesting this token instead of Injector allows StaticInjector to be tree-shaken from a project.

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/INJECTOR-1