diff --git a/src/baseClient.ts b/src/baseClient.ts index 2ad0aa7..f90f64d 100644 --- a/src/baseClient.ts +++ b/src/baseClient.ts @@ -57,7 +57,7 @@ async function defaultParseResponse(props: APIResponseProps): Promise { if (contentType?.includes('application/json')) { const headers = defaultParseHeaders(props); const json = { - ...(await response.json()), + ...(await response.json() as any), getHeaders: () => headers, };