From 13dd93f6c54abb6e15ee5f97d5fb3a287dc42058 Mon Sep 17 00:00:00 2001 From: Adrian Wieprzkowicz Date: Thu, 12 May 2022 09:19:07 +0200 Subject: [PATCH] Expand isAxiosError types (#4344) * Expand isAxiosError types * Fix isAxiosError types Add missing generic type variable * Fix typo Co-authored-by: Jay --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c363c4e..cd3a1f8 100644 --- a/index.d.ts +++ b/index.d.ts @@ -285,7 +285,7 @@ export interface AxiosStatic extends AxiosInstance { isCancel(value: any): boolean; all(values: Array>): Promise; spread(callback: (...args: T[]) => R): (array: T[]) => R; - isAxiosError(payload: any): payload is AxiosError; + isAxiosError(payload: any): payload is AxiosError; toFormData(sourceObj: object, targetFormData?: GenericFormData, options?: FormSerializerOptions): GenericFormData; }