InjectableType
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. |