angular / 9.1.12 / api / core / injector.html /

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