UNPKG

@rxap/ngx-utilities

Version:
38 lines (19 loc) 816 B
[**@rxap/ngx-utilities v19.0.0**](../README.md) *** [@rxap/ngx-utilities](../globals.md) / ToMethodWithInjectionContext # Function: ToMethodWithInjectionContext() > **ToMethodWithInjectionContext**\<`ReturnType`, `Parameter`, `MethodType`\>(`call`, `injector`, `metadata`): `MethodType` Defined in: [to-method.ts:8](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/utilities/src/lib/to-method.ts#L8) ## Type Parameters • **ReturnType** = `any` • **Parameter** = `any` • **MethodType** *extends* `Method`\<`ReturnType`, `Parameter`\> = `Method`\<`ReturnType`, `Parameter`\> ## Parameters ### call (`parameters`?, ...`args`) => `ReturnType` \| `Promise`\<`ReturnType`\> ### injector `Injector` ### metadata `any` = `...` ## Returns `MethodType`