API 参考
    正在准备搜索索引...

    接口 AxiosInterceptorManager<V>

    interface AxiosInterceptorManager<V> {
        handlers?: AxiosInterceptorHandler<V>[];
        use: V extends AxiosResponse<any, any, {}, any>
            ? AxiosResponseInterceptorUse<V>
            : AxiosRequestInterceptorUse<V>;
        clear(): void;
        eject(id: number): void;
    }

    类型参数

    • V
    索引
    handlers?: AxiosInterceptorHandler<V>[]
    use: V extends AxiosResponse<any, any, {}, any>
        ? AxiosResponseInterceptorUse<V>
        : AxiosRequestInterceptorUse<V>
    • 返回 void

    • 参数

      • id: number

      返回 void