Skip to content

Commit

Permalink
Update RouteConfig type description (#12333)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish authored Nov 21, 2024
1 parent af0acf1 commit 10a1eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-router-dev/config/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const resolvedRouteConfigSchema = v.array(routeConfigEntrySchema);
type ResolvedRouteConfig = v.InferInput<typeof resolvedRouteConfigSchema>;

/**
* Route config to be exported via the `routes` export within `routes.ts`.
* Route config to be exported via the default export from `app/routes.ts`.
*/
export type RouteConfig = ResolvedRouteConfig | Promise<ResolvedRouteConfig>;

Expand Down

0 comments on commit 10a1eff

Please sign in to comment.