Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
3
node_modules/next/dist/lib/with-promise-cache.d.ts
generated
vendored
Normal file
3
node_modules/next/dist/lib/with-promise-cache.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import type { LRUCache } from '../server/lib/lru-cache';
|
||||
export declare function withPromiseCache<K, V>(cache: LRUCache<Promise<V>>, fn: (value: K) => Promise<V>): (value: K) => Promise<V>;
|
||||
export declare function withPromiseCache<T extends any[], K, V>(cache: LRUCache<Promise<V>>, fn: (...values: T) => Promise<V>, getKey: (...values: T) => K): (...values: T) => Promise<V>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue