W3cubDocs

/Angular 11

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/InjectableType