W3cubDocs

/Angular 7

InjectorType

interface

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
}

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.

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/core/InjectorType