W3cubDocs

/Angular 10

InjectableType

interface

A Type which has an InjectableDef static field.

See more...

interface InjectableType<T> extends Type {

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

Description

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

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/core/InjectableType