• Overview
@angular/core

INJECTOR

constant

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

Description

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

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

Jump to details