From da6a88d386bd9b6139741b5b5fae8ca650ea11c3 Mon Sep 17 00:00:00 2001 From: winixt Date: Wed, 29 Jun 2022 16:56:34 +0800 Subject: [PATCH] chore: change request declear file --- packages/fes-plugin-request/types.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fes-plugin-request/types.d.ts b/packages/fes-plugin-request/types.d.ts index 923153ff..f9757c48 100644 --- a/packages/fes-plugin-request/types.d.ts +++ b/packages/fes-plugin-request/types.d.ts @@ -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; }