(input: Parameters<typeof fetch>[0])
| 28 | ) => Promise<Response>; |
| 29 | |
| 30 | function fetchInputUrl(input: Parameters<typeof fetch>[0]): string { |
| 31 | if (typeof input === 'string') return input; |
| 32 | if (input instanceof URL) return input.href; |
| 33 | return input.url; |
| 34 | } |
| 35 | |
| 36 | function freshToken(): TokenInfo { |
| 37 | return { |