Skip to content

Commit 1942dc7

Browse files
committed
Remove redundant & in types
1 parent bfe7442 commit 1942dc7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/react-router/lib/types/route-module-annotations.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ type HasServerComponent<
131131

132132
type CreateHydrateFallbackProps<T extends RouteInfo> = {
133133
params: T["params"];
134-
} & {
135134
/** The data returned from the `loader` or `clientLoader` */
136135
loaderData?: T["loaderData"];
137136
/** The data returned from the `action` or `clientAction` following an action submission. */
@@ -203,7 +202,6 @@ type CreateErrorBoundaryProps<T extends RouteInfo> = {
203202
**/
204203
params: T["params"];
205204
error: unknown;
206-
} & {
207205
/** The data returned from the `loader` or `clientLoader` */
208206
loaderData?: T["loaderData"];
209207
/** The data returned from the `action` or `clientAction` following an action submission. */

0 commit comments

Comments
 (0)