Type alias WithApiClientAction<TResult>

WithApiClientAction<TResult>: ((client) => Promise<TResult>)

Type Parameters

  • TResult extends any = any

Type declaration

    • (client): Promise<TResult>
    • An action for 'withClient()' method of 'ApiClient' class.

      Parameters

      • client: AxiosInstance

        The client instance.

      Returns Promise<TResult>

      The promise with the result of the action.

Generated using TypeDoc