1
0
mirror of https://github.com/WeBankFinTech/fes.js.git synced 2025-04-06 03:59:53 +08:00
This commit is contained in:
wanchun 2022-07-04 16:08:38 +08:00
commit ad235af46c

@ -6,8 +6,8 @@ type RequestInterceptor = (value: AxiosRequestConfig) => AxiosRequestConfig | [(
type ResponseInterceptor = (value: AxiosResponse) => AxiosResponse | [(value: AxiosResponse) => AxiosResponse, (error: any) => any];
interface RequestPluginOption {
mergeRequest: boolean;
cache: boolean | {
mergeRequest?: boolean;
cache?: boolean | {
type: 'ram' | 'sessionStorage' | 'localStorage',
cacheTime: number;
}