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
Typescript definition for AxiosError should include request?
#1014
Comments
mmarvick
added a commit
to mmarvick/axios
that referenced
this issue
Jul 25, 2017
I made the type `any`. It looks like the actual type is generally `XMLHttpRequest`, but I'm not sure that that's true in all cases. Would be happy to change that if advised otherwise. ref axios#1014
Merged. Thanks for your contribution. |
@rubennorte I don't believe you published this correctly. I can see the updated index.d.ts on github, but npm is serving up an old version still. |
A new version hasn't been released yet: https://github.com/axios/axios/releases |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
#### Summary
The current Typescript definition for AxiosError has all of the fields that can be on an error except for the optional
request?
param.See this code where these errors are created.
#### Context
The text was updated successfully, but these errors were encountered: