W3cubDocs

/Angular 12

InjectorType

interface

A type which has an InjectorDef static field.

See more...

interface InjectorType<T> extends Type<T> {

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

Description

InjectorTypes can be used to configure a StaticInjector.

This is an opaque type whose structure is highly version dependent. Do not rely on any properties.

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