Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
4fecf10d11 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ztimson/utils",
|
||||
"version": "0.24.9",
|
||||
"version": "0.24.10",
|
||||
"description": "Utility library",
|
||||
"author": "Zak Timson",
|
||||
"license": "MIT",
|
||||
|
@ -11,7 +11,7 @@ export type CacheOptions = {
|
||||
expiryPolicy?: 'delete' | 'keep';
|
||||
}
|
||||
|
||||
export type CachedValue<T> = T | {_expired?: boolean};
|
||||
export type CachedValue<T> = T & {_expired?: boolean};
|
||||
|
||||
/**
|
||||
* Map of data which tracks whether it is a complete collection & offers optional expiry of cached values
|
||||
|
Reference in New Issue
Block a user