- Inject<T, K>(injectInto: AnyClass<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: AnyClass<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