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

isAxiosError is undefined on NuxtAxiosInstance #550

Open
BobbieGoede opened this issue Nov 16, 2021 · 3 comments
Open

isAxiosError is undefined on NuxtAxiosInstance #550

BobbieGoede opened this issue Nov 16, 2021 · 3 comments

Comments

@BobbieGoede
Copy link

NuxtAxiosInstance does not have isAxiosError while the interface it extends suggest that it does.

@silverbackdan
Copy link

It should do - perhaps you are not importing the type properly? There was an issue I had which is resolved here, fancy taking a look as if it resolves your issue you can close this one? #555

@ZhuBoao
Copy link

ZhuBoao commented Mar 16, 2022

No, seems like it isAxiosError functions still doesn't exist on NuxtAxiosInstance. At least not on latest release 5.13.6.

It's not a huge issue. I can directly import axios from "axios" and call axios.isAxiosError(..). Though it would be sweet to add it in NuxtAxiosInstance.

@silverbackdan
Copy link

Ah yes, misunderstood the issue and you're right, hopefully maintainers will see your fix :)

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

Successfully merging a pull request may close this issue.

3 participants