From 3479ca7c76f1baa832034761705c06802366199c Mon Sep 17 00:00:00 2001 From: Philipp Loose <37411699+phloose@users.noreply.github.com> Date: Tue, 3 May 2022 21:07:09 +0200 Subject: [PATCH] Updating typing for AxiosPromise (#4505) Co-authored-by: Jay --- index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 3f1b4901c1..8ab8e51fa7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -170,8 +170,7 @@ export class AxiosError extends Error { export class CanceledError extends AxiosError { } -export interface AxiosPromise extends Promise> { -} +export type AxiosPromise = Promise>; export interface CancelStatic { new (message?: string): Cancel;