W3cubDocs

/Angular 12

InjectableType

interface

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

See more...

interface InjectableType<T> extends Type<T> {

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