mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
chore: change request declear file
This commit is contained in:
parent
b3dbbe187c
commit
da6a88d386
4
packages/fes-plugin-request/types.d.ts
vendored
4
packages/fes-plugin-request/types.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user