diff --git a/index.d.ts b/index.d.ts index 08842113a6..5204a308c8 100644 --- a/index.d.ts +++ b/index.d.ts @@ -92,7 +92,7 @@ export interface CancelTokenSource { } export interface AxiosInterceptorManager { - use(onFulfilled: (value: V) => V | Promise, onRejected?: (error: any) => any): number; + use(onFulfilled?: (value: V) => V | Promise, onRejected?: (error: any) => any): number; eject(id: number): void; }