File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,19 @@ export type CacheEntryType = "cache" | "fetch" | "composable";
1414export type IncrementalCache = {
1515 get<CacheType extends CacheEntryType = " cache" >(
1616 key : string ,
17- cacheType ? : CacheType ,
17+ cacheType ? : CacheType
1818 ): Promise <WithLastModified <CacheValue <CacheType >> | null >;
1919 set<CacheType extends CacheEntryType = " cache" >(
2020 key : string ,
2121 value : CacheValue <CacheType >,
22- isFetch ? : CacheType ,
22+ isFetch ? : CacheType
2323 ): Promise <void >;
2424 delete(key : string ): Promise <void >;
2525 name: string ;
2626};
2727```
2828
29- NextModeTagCache also get a new function ` getLastRevalidated ` used for the composable cache:
29+ NextModeTagCache also get a new function ` getLastRevalidated ` used for the composable cache:
3030
3131``` ts
3232 getLastRevalidated (tags : string []): Promise < number > ;
You can’t perform that action at this time.
0 commit comments