Skip to content

Commit aacc2b9

Browse files
authored
Fix type definition of Route.children (#11672)
1 parent d7356d2 commit aacc2b9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
- DigitalNaut
6868
- dmitrytarassov
6969
- dokeet
70+
- doytch
7071
- Drishtantr
7172
- edwin177
7273
- eiffelwong1

docs/route/route.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Neither style is discouraged and behavior is identical. For the majority of this
7070
interface RouteObject {
7171
path?: string;
7272
index?: boolean;
73-
children?: React.ReactNode;
73+
children?: RouteObject[];
7474
caseSensitive?: boolean;
7575
id?: string;
7676
loader?: LoaderFunction;

0 commit comments

Comments
 (0)