InjectorType
A type which has an InjectorDef static field.
interface InjectorType<T> extends Type {
ngInjectorDef: never
// 继承自 core/Type
new (...args: any[]): T
}
说明
InjectorDefTypes can be used to configure a StaticInjector.
属性
| 属性 | 说明 |
|---|---|
ngInjectorDef: never | Opaque type whose structure is highly version dependent. Do not rely on any properties. |