ResponseInterceptorType
import { ResponseInterceptorType } from "@hyper-fetch/core"
Description
Defined in client/client.types.ts:43
Preview
type ResponseInterceptorType<Response,Error,Adapter> = (response: ResponseReturnType<Response, Error, Adapter>, request: RequestInstance) => Promise<ResponseReturnType<any, any, Adapter>> | ResponseReturnType<any, any, Adapter>;
Structure
(response: ResponseReturnType<Response, Error, Adapter>, request: RequestInstance) => Promise<ResponseReturnType<any, any, Adapter>> | ResponseReturnType<any, any, Adapter>