next
Version:
The React Framework
6 lines (5 loc) • 383 B
TypeScript
import type { FlightSegmentPath, CacheNode } from '../../../shared/lib/app-router-types';
/**
* This will clear the CacheNode data for a particular segment path. This will cause a lazy-fetch in layout router to fill in new data.
*/
export declare function clearCacheNodeDataForSegmentPath(newCache: CacheNode, existingCache: CacheNode, flightSegmentPath: FlightSegmentPath): void;