W3cubDocs

/Angular

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://angular.io/api/core/INJECTOR