InjectableType
interface
A Type
which has an InjectableDef
static field.
interface InjectableType<T> extends Type { ngInjectableDef: never // inherited from core/Type new (...args: any[]): T }
Description
InjectableDefType
s 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://v6.angular.io/api/core/InjectableType