W3cubDocs

/Angular 10

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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/core/INJECTOR