default
default: { wrappedFetch: (fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) => (...args: [input: RequestInfo | URL, init?: RequestInit]) => Promise<Response> }
Type declaration
-
wrappedFetch: (fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) => (...args: [input: RequestInfo | URL, init?: RequestInit]) => Promise<Response>
-
- (fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>): (...args: [input: RequestInfo | URL, init?: RequestInit]) => Promise<Response>
-
Parameters
-
fetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response> = ...
-
- (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
-
Parameters
-
input: RequestInfo | URL
-
Optional init: RequestInit
Returns Promise<Response>
Returns (...args: [input: RequestInfo | URL, init?: RequestInit]) => Promise<Response>
-
- (...args: [input: RequestInfo | URL, init?: RequestInit]): Promise<Response>
-
Parameters
-
Rest ...args: [input: RequestInfo | URL, init?: RequestInit]
Returns Promise<Response>