Skip to content

Commit

Permalink
Merge pull request #4186 from smff/fix-for-axios-basequery-types
Browse files Browse the repository at this point in the history
proposal fix for axios base query types
  • Loading branch information
EskiMojo14 committed Feb 12, 2024
2 parents 1cb709b + cab8664 commit 0ab713e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/rtk-query/usage/customizing-queries.mdx
Expand Up @@ -369,7 +369,7 @@ const axiosBaseQuery =
): BaseQueryFn<
{
url: string
method: AxiosRequestConfig['method']
method?: AxiosRequestConfig['method']
data?: AxiosRequestConfig['data']
params?: AxiosRequestConfig['params']
headers?: AxiosRequestConfig['headers']
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/src/query/tests/errorHandling.test.tsx
Expand Up @@ -390,7 +390,7 @@ describe('custom axios baseQuery', () => {
): BaseQueryFn<
{
url: string
method: AxiosRequestConfig['method']
method?: AxiosRequestConfig['method']
data?: AxiosRequestConfig['data']
},
unknown,
Expand Down

0 comments on commit 0ab713e

Please sign in to comment.