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

Add toJSON property to AxiosError type #2427

Merged
merged 2 commits into from Sep 26, 2019
Merged

Commits on Sep 24, 2019

  1. Add toJSON property to AxiosError type

    I noticed the error object has a `toJSON` method but when I tried to use it in my typescript code it complained it didn't exist, even though I was using the `AxiosError` type.
    trodrigues committed Sep 24, 2019
    Copy the full SHA
    7d45fad View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2019

  1. Copy the full SHA
    c242a7b View commit details
    Browse the repository at this point in the history