Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add toJSON property to AxiosError type (axios#2427)
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.
- Loading branch information