File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import axios , { type Axios , type AxiosRequestConfig } from 'axios'
1+ import axios , { type AxiosInstance , type AxiosRequestConfig } from 'axios'
22import axiosRetry , { type AxiosRetry , exponentialDelay } from 'axios-retry'
33
44import { paramsSerializer } from 'lib/params-serializer.js'
55
6- export type Client = Axios
6+ export type Client = AxiosInstance
77
88export interface ClientOptions {
99 axiosOptions ?: AxiosRequestConfig
@@ -13,7 +13,7 @@ export interface ClientOptions {
1313
1414type AxiosRetryConfig = Parameters < AxiosRetry > [ 1 ]
1515
16- export const createClient = ( options : ClientOptions ) : Axios => {
16+ export const createClient = ( options : ClientOptions ) : AxiosInstance => {
1717 if ( options . client != null ) return options . client
1818
1919 const client = axios . create ( {
You can’t perform that action at this time.
0 commit comments