Skip to content

Commit

Permalink
merge feature pr axios#3783 into v1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
赵江江 committed Mar 14, 2024
1 parent d844227 commit 20e80ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -474,7 +474,7 @@ export interface AxiosInterceptorOptions {
}

export interface AxiosInterceptorManager<V> {
use(onFulfilled?: ((value: V) => V | Promise<V>) | null, onRejected?: ((error: any) => any) | null, options?: AxiosInterceptorOptions): number;
use<T = V>(onFulfilled?: ((value: V) => T | Promise<T>) | null, onRejected?: ((error: any) => any) | null, options?: AxiosInterceptorOptions): number;
eject(id: number): void;
clear(): void;
}
Expand Down

0 comments on commit 20e80ca

Please sign in to comment.