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; }