File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
packages/react-router/lib/dom/ssr Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " react-router " : patch
3+ ---
4+
5+ [ REMOVE] Update type as a follow up to https://github.com/remix-run/react-router/pull/14151
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import type {
88 unstable_MiddlewareFunction ,
99 Params ,
1010 ShouldRevalidateFunction ,
11+ DataStrategyResult ,
1112} from "../../router/utils" ;
1213
1314import type { EntryRoute } from "./routes" ;
@@ -25,7 +26,9 @@ export interface RouteModules {
2526export interface RouteModule {
2627 clientAction ?: ClientActionFunction ;
2728 clientLoader ?: ClientLoaderFunction ;
28- unstable_clientMiddleware ?: unstable_MiddlewareFunction < undefined > [ ] ;
29+ unstable_clientMiddleware ?: unstable_MiddlewareFunction <
30+ Record < string , DataStrategyResult >
31+ > [ ] ;
2932 ErrorBoundary ?: ErrorBoundaryComponent ;
3033 HydrateFallback ?: HydrateFallbackComponent ;
3134 Layout ?: LayoutComponent ;
You can’t perform that action at this time.
0 commit comments