From 5c49e6f9e1b5a8e03b6ee32177c82bce3a864f0f Mon Sep 17 00:00:00 2001 From: George Cheng Date: Fri, 2 Dec 2022 21:57:00 +0800 Subject: [PATCH] Update index.d.cts --- index.d.cts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;