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

Type Parameters

  • V

Methods

Methods

  • Returns void

  • Parameters

    • id: number

    Returns void

  • Parameters

    • OptionalonFulfilled: null | ((value: V) => V | Promise<V>)
    • OptionalonRejected: null | ((error: any) => any)
    • Optionaloptions: AxiosInterceptorOptions

    Returns number