UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

5 lines (4 loc) • 297 B
import type { LoaderContextValue } from './LoaderContext'; type LoaderFetcher<T> = (path: string, requestInit: RequestInit) => Promise<T>; export declare function readLoaderData<T>({ client, store }: LoaderContextValue, resolvedPath: string, fetcher: LoaderFetcher<T>): T | Promise<T>; export {};