Private _fetch
_fetch: () => (input: RequestInfo, init?: RequestInit) => Promise<Response>
Type declaration
-
- (): (input: RequestInfo, init?: RequestInit) => Promise<Response>
-
Returns (input: RequestInfo, init?: RequestInit) => Promise<Response>
-
- (input: RequestInfo, init?: RequestInit): Promise<Response>
-
Parameters
-
input: RequestInfo
-
Optional init: RequestInit
Returns Promise<Response>
Request factory, supports both options (given in constructor) and a chainable API