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

InjectableType

A Type which has an InjectableDef static field.

查看"说明"...

interface InjectableType<T> extends Type{ // 继承自 core/Type new (...args: any[]): T }
      
      interface InjectableType<T> extends Type {

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

说明

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