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

InjectableType

具有 InjectableDef 静态字段的 Type

A Type which has a ɵprov: ɵɵInjectableDeclaration static field.

查看"说明"...

      
      interface InjectableType<T> extends Type {

  // 继承自 core/Type
  constructor(...args: any[]): T
}
    

说明

InjectableDefType 包含其自己的依赖注入元数据,并且可在基于 InjectorDefStaticInjector 中使用。

InjectableTypes contain their own Dependency Injection metadata and are usable in an InjectorDef-based `StaticInjector.