InjectableType

interface

A Type which has an InjectableDef static field.

See more...

interface InjectableType<T> extends Type {
  ngInjectableDef: never

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

Description

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

Properties

Property Description
ngInjectableDef: never

Opaque type whose structure is highly version dependent. Do not rely on any properties.

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