InjectorType

A type which has an InjectorDef static field.

查看"说明"...

      
      interface InjectorType<T> extends Type {
  ngInjectorDef: never

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

说明

InjectorDefTypes can be used to configure a StaticInjector.

属性

属性说明
ngInjectorDef: never

Opaque type whose structure is highly version dependent. Do not rely on any properties.