(key: string)
| 104 | } |
| 105 | |
| 106 | function getCacheEntry<T>(key: string): CacheEntry<T> | undefined { |
| 107 | return cache.entries.get(key) as CacheEntry<T> | undefined |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Check if a cache entry is stale based on staleTime. |
no test coverage detected