(req: any)
| 8 | export function createArcticClient(config?: Config & { directory?: string }) { |
| 9 | if (!config?.fetch) { |
| 10 | const customFetch: any = (req: any) => { |
| 11 | // @ts-ignore |
| 12 | req.timeout = false |
| 13 | return fetch(req) |
| 14 | } |
| 15 | config = { |
| 16 | ...config, |
| 17 | fetch: customFetch, |