diff --git a/types.d.ts b/types.d.ts index 0841376..b5a5e97 100644 --- a/types.d.ts +++ b/types.d.ts @@ -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;