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
Hey there, here's the error I'm getting on typescript.
Argument of type 'import("./node_modules/axios/index").AxiosInstance' is not assignable to parameter of type 'import(./node_modules/cachios/node_modules/axios/index").AxiosInstance'.
The types of 'defaults.headers.common' are incompatible between these types.
Type 'Partial<RawAxiosHeaders & MethodsHeaders & CommonHeaders>' is not assignable to type 'AxiosRequestHeaders'.
Index signatures are incompatible.
Type 'AxiosHeaderValue | undefined' is not assignable to type 'string | number | boolean'.
Type 'undefined' is not assignable to type 'string | number | boolean'.ts(2345)
Hey there, here's the error I'm getting on typescript.
Argument of type 'import("./node_modules/axios/index").AxiosInstance' is not assignable to parameter of type 'import(./node_modules/cachios/node_modules/axios/index").AxiosInstance'.
The types of 'defaults.headers.common' are incompatible between these types.
Type 'Partial<RawAxiosHeaders & MethodsHeaders & CommonHeaders>' is not assignable to type 'AxiosRequestHeaders'.
Index signatures are incompatible.
Type 'AxiosHeaderValue | undefined' is not assignable to type 'string | number | boolean'.
Type 'undefined' is not assignable to type 'string | number | boolean'.ts(2345)
Any help would be appreciated.
Version:
"cachios": "^4.0.0"
"axios": "^1.1.3",
"typescript": "4.5.4",
Node Version: v16.18.0
The text was updated successfully, but these errors were encountered: