Skip to content

Commit af16c4a

Browse files
authored
Update docs/rtk-query/api/fetchBaseQuery.mdx
1 parent 1190d0f commit af16c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/api/fetchBaseQuery.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ If you make a `json` request to an API that only returns a `200` with an undefin
302302
The default response handler is `"json"`, which is equivalent to the following function:
303303

304304
```ts title="Default responseHandler"
305-
const defaultResponseHandler = async (res) => {
305+
const defaultResponseHandler = async (res: Response) => {
306306
const text = await res.text();
307307
return text.length ? JSON.parse(text) : null;
308308
}

0 commit comments

Comments
 (0)