Files
Webklar.com/node_modules/next/dist/client/components/router-reducer/invalidate-cache-by-router-state.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

7 lines
368 B
TypeScript

import type { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime';
import type { FlightRouterState } from '../../../server/app-render/types';
/**
* Invalidate cache one level down from the router state.
*/
export declare function invalidateCacheByRouterState(newCache: CacheNode, existingCache: CacheNode, routerState: FlightRouterState): void;