- InjectObject<T, K>(injectInto: T, property: K, position: InjectionPosition, priority?: number): ((host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptor<InjectionMethod<T, K>>) => any)
-
Type Parameters
-
T extends Record<K, AnyFunction<any>>
-
K extends string | number | symbol
Parameters
-
injectInto: T
-
property: K
-
-
Optional
priority: number
Returns ((host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptor<InjectionMethod<T, K>>) => any)
-
- (host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptor<InjectionMethod<T, K>>): any
-
Parameters
-
host: any
-
property2: string | number | symbol
-
descriptor: TypedPropertyDescriptor<InjectionMethod<T, K>>
Returns any