Page Contents
Home > @loopback/context > describeInjectedArguments
describeInjectedArguments() function
Return an array of injection objects for parameters
Signature:
export declare function describeInjectedArguments(target: Object, method?: string): Readonly<Injection>[];
Parameters
Parameter | Type | Description |
---|---|---|
target | Object | The target class for constructor or static methods, or the prototype for instance methods |
method | string | (Optional) Method name, undefined for constructor |
Returns:
Readonly<Injection>[]