File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/react-router/lib Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " react-router " : patch
3
+ ---
4
+
5
+ fix: make hasErrorelement optional on types
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface IndexRouteObject {
20
20
id ?: AgnosticIndexRouteObject [ "id" ] ;
21
21
loader ?: AgnosticIndexRouteObject [ "loader" ] ;
22
22
action ?: AgnosticIndexRouteObject [ "action" ] ;
23
- hasErrorBoundary : AgnosticIndexRouteObject [ "hasErrorBoundary" ] ;
23
+ hasErrorBoundary ? : AgnosticIndexRouteObject [ "hasErrorBoundary" ] ;
24
24
shouldRevalidate ?: AgnosticIndexRouteObject [ "shouldRevalidate" ] ;
25
25
handle ?: AgnosticIndexRouteObject [ "handle" ] ;
26
26
index : true ;
@@ -35,7 +35,7 @@ export interface NonIndexRouteObject {
35
35
id ?: AgnosticNonIndexRouteObject [ "id" ] ;
36
36
loader ?: AgnosticNonIndexRouteObject [ "loader" ] ;
37
37
action ?: AgnosticNonIndexRouteObject [ "action" ] ;
38
- hasErrorBoundary : AgnosticNonIndexRouteObject [ "hasErrorBoundary" ] ;
38
+ hasErrorBoundary ? : AgnosticNonIndexRouteObject [ "hasErrorBoundary" ] ;
39
39
shouldRevalidate ?: AgnosticNonIndexRouteObject [ "shouldRevalidate" ] ;
40
40
handle ?: AgnosticNonIndexRouteObject [ "handle" ] ;
41
41
index ?: false ;
You can’t perform that action at this time.
0 commit comments