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

Improve typings: set isAxiosError to true #2075

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@charlax
Copy link

commented Apr 2, 2019

Restrict typings since isAxiosError is always set to true. This allows discriminating between axios errors and non-axios errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.