/** * Stand-in for generated `./+types/` when `react-router typegen` has not * been run (see `.react-router/types`). Replace with per-route `+types` imports * after `npm run typecheck` for fully inferred `params` and loader `data` types. */ import type { ActionFunctionArgs, LoaderFunctionArgs, MetaFunction as MetaFunctionType, } from 'react-router'; export namespace Route { export type LoaderArgs = LoaderFunctionArgs; export type ActionArgs = ActionFunctionArgs; export type MetaFunction = MetaFunctionType; }