We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1190d0f commit af16c4aCopy full SHA for af16c4a
docs/rtk-query/api/fetchBaseQuery.mdx
@@ -302,7 +302,7 @@ If you make a `json` request to an API that only returns a `200` with an undefin
302
The default response handler is `"json"`, which is equivalent to the following function:
303
304
```ts title="Default responseHandler"
305
-const defaultResponseHandler = async (res) => {
+const defaultResponseHandler = async (res: Response) => {
306
const text = await res.text();
307
return text.length ? JSON.parse(text) : null;
308
}
0 commit comments