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