Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axios 1.7.8 error #291

Open
jahusa02 opened this issue Dec 3, 2024 · 0 comments
Open

Axios 1.7.8 error #291

jahusa02 opened this issue Dec 3, 2024 · 0 comments

Comments

@jahusa02
Copy link

jahusa02 commented Dec 3, 2024

Hey!

When updating to Axios v1.7.8 I get following error regarding the Axios Instance parameter for axiosRetry:

Argument of type 'AxiosCacheInstance' is not assignable to parameter of type 'AxiosStatic | AxiosInstance'. Type 'AxiosCacheInstance' is missing the following properties from type 'AxiosStatic': default, create, Cancel, CancelToken, and 13 more.

Guess there was a change in types because there are multiple Issues open in the Axios Repo:

axios/axios#6716
axios/axios#6527
axios/axios#6692

Couldn't fix the error by myself so rolling back to axios v1.7.7 works for the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant