- Preparing search index...
- The search index is not available
Deepkit
Function injectedFunction
- injectedFunction<T>(fn: T, injector: Injector, skipParameters?: number): ((scope?: Scope, ...args: any[]) => ReturnType<T>)
-
Type Parameters
-
T extends ((...args: any) => any)
Parameters
-
fn: T
-
-
skipParameters: number = 0
Returns ((scope?: Scope, ...args: any[]) => ReturnType<T>)
-
- (scope?: Scope, ...args: any[]): ReturnType<T>
-
Parameters
-
Optional
scope: Scope
-
Rest
...args: any[]
Returns ReturnType<T>