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 {
8
8
unstable_MiddlewareFunction ,
9
9
Params ,
10
10
ShouldRevalidateFunction ,
11
+ DataStrategyResult ,
11
12
} from "../../router/utils" ;
12
13
13
14
import type { EntryRoute } from "./routes" ;
@@ -25,7 +26,9 @@ export interface RouteModules {
25
26
export interface RouteModule {
26
27
clientAction ?: ClientActionFunction ;
27
28
clientLoader ?: ClientLoaderFunction ;
28
- unstable_clientMiddleware ?: unstable_MiddlewareFunction < undefined > [ ] ;
29
+ unstable_clientMiddleware ?: unstable_MiddlewareFunction <
30
+ Record < string , DataStrategyResult >
31
+ > [ ] ;
29
32
ErrorBoundary ?: ErrorBoundaryComponent ;
30
33
HydrateFallback ?: HydrateFallbackComponent ;
31
34
Layout ?: LayoutComponent ;
You can’t perform that action at this time.
0 commit comments