securityos/node_modules/next/dist/server/web/spec-extension/unstable-cache.d.ts

7 lines
221 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
type Callback = (...args: any[]) => Promise<any>;
export declare function unstable_cache<T extends Callback>(cb: T, keyParts?: string[], options?: {
revalidate?: number | false;
tags?: string[];
}): T;
export {};