main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

8
node_modules/next/dist/lib/with-promise-cache.d.ts generated vendored Normal file
View File

@@ -0,0 +1,8 @@
interface Cache<K, V> {
set(key: K, value: V, maxAge?: number): boolean;
get(key: K): V | undefined;
del(key: K): void;
}
export declare function withPromiseCache<K, V>(cache: Cache<K, Promise<V>>, fn: (value: K) => Promise<V>): (value: K) => Promise<V>;
export declare function withPromiseCache<T extends any[], K, V>(cache: Cache<K, Promise<V>>, fn: (...values: T) => Promise<V>, getKey: (...values: T) => K): (...values: T) => Promise<V>;
export {};