Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
- arnassavickas
- aroyan
- Artur-
- AsamK
- ashusnapx
- avipatel97
- awreese
Expand Down
16 changes: 8 additions & 8 deletions packages/react-router/lib/router/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,14 +628,14 @@ export type LazyRouteDefinition<R extends AgnosticRouteObject> =
* Base RouteObject with common props shared by all types of routes
*/
type AgnosticBaseRouteObject = {
caseSensitive?: boolean;
path?: string;
id?: string;
middleware?: MiddlewareFunction[];
loader?: LoaderFunction | boolean;
action?: ActionFunction | boolean;
hasErrorBoundary?: boolean;
shouldRevalidate?: ShouldRevalidateFunction;
caseSensitive?: boolean | undefined;
path?: string | undefined;
id?: string | undefined;
middleware?: MiddlewareFunction[] | undefined;
loader?: LoaderFunction | boolean | undefined;
action?: ActionFunction | boolean | undefined;
hasErrorBoundary?: boolean | undefined;
shouldRevalidate?: ShouldRevalidateFunction | undefined;
handle?: any;
lazy?: LazyRouteDefinition<AgnosticBaseRouteObject>;
};
Expand Down