InjectableType

From Get docs
< @angular/coreAngular/docs/latest/api/core/injectabletype


InjectableType

interface

A Type which has a ɵprov: ɵɵInjectableDeclaration static field.

See more...

interface InjectableType<T> extends Type {

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

Description

InjectableTypes 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://angular.io/api/core/InjectableType