Skip to content

Commit

Permalink
Update types.d.ts (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcattan authored Nov 9, 2023
1 parent 2f2f994 commit 212ab56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ declare namespace MobxReactRouter {

export function withRouter(Component)

export function Route(props: {exact?: boolean, component: React.ReactNode, path?: string | string[], render?: () => React.ReactNode})
export function Route(props: {exact?: boolean, component?: React.ReactNode, path?: string | string[], render?: () => React.ReactNode})
}

export = MobxReactRouter;

0 comments on commit 212ab56

Please sign in to comment.