| 1 | export interface Params { |
| 2 | baseUrl: string; |
| 3 | beforeRequest?: (url: string, options: RequestInit) => Promise<RequestInit>; |
| 4 | afterRequest?: ( |
| 5 | url: string, |
| 6 | options: RequestInit, |
| 7 | response: Response |
| 8 | ) => Promise<boolean>; |
| 9 | } |
| 10 | export const customFetch = ( |
| 11 | params: Params, |
| 12 | auth?: string, |
nothing calls this directly
no outgoing calls
no test coverage detected