Help Angular by taking a 1 minute survey!Go to surveyHome

InjectorType

A type which has an InjectorDef static field.

See more...

interface InjectorType<T> extends Type { ngInjectorDef: never // inherited from core/Type new (...args: any[]): T }
      
      interface InjectorType<T> extends Type {
  ngInjectorDef: never

  // inherited from core/Type
  new (...args: any[]): T
}
    

Description

InjectorDefTypes can be used to configure a StaticInjector.

Properties

Property Description
ngInjectorDef: never

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