W3cubDocs

/Angular

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