填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

INJECTOR

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

查看"说明"...

      
      const INJECTOR: InjectionToken<Injector>;
    

说明

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