(input: RequestInfo, init: RequestInit)
| 293 | const accept: string | undefined = |
| 294 | headers["Accept"] || headers["accept"] || (headers.get && headers.get("accept")) |
| 295 | const doFetch = (input: RequestInfo, init: RequestInit) => |
| 296 | globalScope.fetch(input, init).then(parseResponse(accept, json)) |
| 297 | const isDefer = |
| 298 | typeof defer === "boolean" ? defer : ["POST", "PUT", "PATCH", "DELETE"].indexOf(method!) !== -1 |
| 299 | const fn = isDefer ? "deferFn" : "promiseFn" |
no test coverage detected