From fbb8bdb0133c5fb6e42b567c59380b21e477185e Mon Sep 17 00:00:00 2001 From: Maiko Sinkyaet Tan Date: Wed, 21 Dec 2022 10:44:41 +0800 Subject: [PATCH] feat: export mergeConfig function in index.d.cts --- index.d.cts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.cts b/index.d.cts index 844cda67b7..bc9d90ac0c 100644 --- a/index.d.cts +++ b/index.d.cts @@ -492,6 +492,7 @@ declare namespace axios { isAxiosError(payload: any): payload is AxiosError; toFormData(sourceObj: object, targetFormData?: GenericFormData, options?: FormSerializerOptions): GenericFormData; formToJSON(form: GenericFormData|GenericHTMLFormElement): object; + mergeConfig(config1: AxiosRequestConfig, config2?: AxiosRequestConfig): AxiosRequestConfig; AxiosHeaders: typeof AxiosHeaders; } }