You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading to the latest version of axios causes a compilation error.
node_modules/axios-cache-interceptor/dist/cache/axios.d.ts:92:18 - error TS2430: Interface 'AxiosCacheInstance' incorrectly extends interface 'AxiosInstance'.
The types of 'interceptors.response.use' are incompatible between these types.
Types of parameters 'onFulfilled' and 'onFulfilled' are incompatible.
Type 'AxiosResponse<any, any> | Promise<AxiosResponse<any, any>>' is not assignable to type 'CacheAxiosResponse<any, any> | Promise<CacheAxiosResponse<any, any>>'.
Type 'AxiosResponse<any, any>' is not assignable to type 'CacheAxiosResponse<any, any> | Promise<CacheAxiosResponse<any, any>>'.
Type 'AxiosResponse<any, any>' is not assignable to type 'CacheAxiosResponse<any, any>'.
92 export interface AxiosCacheInstance extends CacheInstance, AxiosInstance {
What happened?
Upgrading to the latest version of axios causes a compilation error.
axios-cache-interceptor version
v1.6.2
Node / Browser Version
Node 18.18
Axios Version
v1.7.8
What storage is being used
Redis / Other DB
Relevant debugging log output
The text was updated successfully, but these errors were encountered: