Presto
GitHub
Getting Started
Guides
Packages
View Model
Final Form
REST
Endpoint
ApiError
Endpoint
mergeRequestInit
MiddlewareContext
PreparedAction
SkipToResponse
Middleware
batchMiddleware
dedupeInFlightRequestsMiddleware
detectBadPaginationMiddleware
paginationMiddleware
requestDefaultsMiddleware
viewModelCachingMiddleware
Routing
UI
UI ANTD
Util
On this page
Usage
Arguments
mergeRequestInit
Source
import { mergeRequestInit } from "@prestojs/rest";
mergeRequestInit
(
...args
)
Arguments:
Argument
Type
Description
*
...args
(
ExecuteInitOptions
|
EndpointRequestInit
)[]
Returns:
RequestInit