Files
scrap/node_modules/next/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.d.ts
2024-09-24 03:52:46 +00:00

8 lines
455 B
TypeScript

import type { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime';
import type { FlightDataPath } from '../../../server/app-render/types';
import type { PrefetchCacheEntry } from './router-reducer-types';
/**
* Fill cache with rsc based on flightDataPath
*/
export declare function fillCacheWithNewSubTreeData(newCache: CacheNode, existingCache: CacheNode, flightDataPath: FlightDataPath, prefetchEntry?: PrefetchCacheEntry): void;