diff --git a/index.d.ts b/index.d.ts index c643aa7..67fdd68 100644 --- a/index.d.ts +++ b/index.d.ts @@ -292,7 +292,7 @@ export interface AxiosStatic extends AxiosInstance { Axios: typeof Axios; AxiosError: typeof AxiosError; readonly VERSION: string; - isCancel(value: any): boolean; + isCancel(value: any): value is Cancel; all(values: Array>): Promise; spread(callback: (...args: T[]) => R): (array: T[]) => R; isAxiosError(payload: any): payload is AxiosError;