Skip to content

Type Alias: FetchOptionsInterceptor

FetchOptionsInterceptor = Omit<FetchOptions, "as" | "body" | "errMsgs" | "interceptors" | "headers" | "timeout" | keyof FetchRetryOptions> & object & FetchRetryOptions

Defined in: packages/fetch/src/types/options.ts:131

Fetch options available to interceptors.

Type Declaration

as

as: FetchAs

body?

optional body: PostBody

errMsgs

errMsgs: Required<FetchErrMsgs>

Error messages

headers

headers: Headers

interceptors

interceptors: FetchInterceptorsMerged

Interceptors/transformers for fetch requests. See FetchInterceptors for more details.

timeout

timeout: number