Skip to content

Commit

Permalink
Fix type definition of Route.children (#11672)
Browse files Browse the repository at this point in the history
  • Loading branch information
doytch committed Jun 17, 2024
1 parent d7356d2 commit aacc2b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
- DigitalNaut
- dmitrytarassov
- dokeet
- doytch
- Drishtantr
- edwin177
- eiffelwong1
Expand Down
2 changes: 1 addition & 1 deletion docs/route/route.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Neither style is discouraged and behavior is identical. For the majority of this
interface RouteObject {
path?: string;
index?: boolean;
children?: React.ReactNode;
children?: RouteObject[];
caseSensitive?: boolean;
id?: string;
loader?: LoaderFunction;
Expand Down

0 comments on commit aacc2b9

Please sign in to comment.