fix: request cache 类型声明问题

This commit is contained in:
winixt 2023-03-30 16:27:24 +08:00
parent 07b1d844f0
commit 3caaf58afb

View File

@ -13,7 +13,7 @@ interface RequestPluginOption {
cache?:
| boolean
| {
type?: 'ram' | 'sessionStorage' | 'localStorage';
cacheType?: 'ram' | 'sessionStorage' | 'localStorage';
cacheTime?: number;
};
}