Axios v0.26.0 to 1.6.0 Migration: ‘message’ Property Does Not Exist on Type ‘never’ Error
I am currently trying to migrate a project that uses axios 0.26.0 to uses Axios 1.6.0. I encountered an issue with the AxiosError interface. In version 0.26.0, the AxiosError interface was as follows: export interface AxiosError<T = any, D = any> extends Error { config: AxiosRequestConfig<D>; code?: string; request?: any; response?: AxiosResponse<T, D>; isAxiosError: boolean; … Read more