diff --git a/index.d.cts b/index.d.cts index b830cb9a58..59038e89a6 100644 --- a/index.d.cts +++ b/index.d.cts @@ -453,6 +453,7 @@ declare namespace axios { , D = any>(config: AxiosRequestConfig): Promise; , D = any>(url: string, config?: AxiosRequestConfig): Promise; + create(config?: CreateAxiosDefaults): AxiosInstance; defaults: Omit & { headers: HeadersDefaults & { [key: string]: AxiosHeaderValue @@ -471,7 +472,6 @@ declare namespace axios { } interface AxiosStatic extends AxiosInstance { - create(config?: CreateAxiosDefaults): AxiosInstance; Cancel: CancelStatic; CancelToken: CancelTokenStatic; Axios: typeof Axios;