Function defaultAxiosInstance
defaultAxiosInstance<T = any, R = AxiosResponse<T, any>, D = any>( config: AxiosRequestConfig<D>,): Promise<R> Type Parameters
- T = any
- R = AxiosResponse<T, any>
- D = any
Parameters
- config: AxiosRequestConfig<D>
Returns Promise<R>
defaultAxiosInstance<T = any, R = AxiosResponse<T, any>, D = any>( url: string, config?: AxiosRequestConfig<D>,): Promise<R> Type Parameters
- T = any
- R = AxiosResponse<T, any>
- D = any
Parameters
- url: string
Optional
config: AxiosRequestConfig<D>
Returns Promise<R>