Closed javi-moralesf closed 6 years ago
Sorry for delay, I am in spring festival vacation 😀.
Maybe you need cast the axios.defaults.adapter
to AxiosAdapter
type.
cacheAdapterEnhancer(axios.defaults.adapter as AxiosAdapter, true)
closed
cacheAdapterEnhancer method expects as first value an adapter of type "AxiosAdapter" but the axios.defaults.adapter type is "AxiosAdapter | undefined". This is causing an error when using TypeSCript