Function: makeDelete()
makeDelete(
pathOrBaseURL
,body
?,config
?): <C
>(action
) =>Promise
<Action
<Awaited
<C
> &object
,object
>>
HTTP DELETE method shortcut for the makeRequest function.
Parameters
• pathOrBaseURL: string
• body?: unknown
• config?: Omit
<HttpRequestConfig
, "body"
| "method"
>
Returns
Function
Type parameters
• C extends object
Parameters
• action: Action
<C
>
Returns
Promise
<Action
<Awaited
<C
> & object
, object
>>
Source
packages/http/src/actions/context/enhancers/makeDelete.ts:24