next
Version:
The React Framework
5 lines (4 loc) • 389 B
TypeScript
import type { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime';
import type { PrefetchCacheEntry } from './router-reducer-types';
import type { NormalizedFlightData } from '../../flight-data-helpers';
export declare function applyFlightData(existingCache: CacheNode, cache: CacheNode, flightData: NormalizedFlightData, prefetchEntry?: PrefetchCacheEntry): boolean;