diff --git a/types/react-router/v2/lib/Router.d.ts b/types/react-router/v2/lib/Router.d.ts index a7dff58369..6611fa55a9 100644 --- a/types/react-router/v2/lib/Router.d.ts +++ b/types/react-router/v2/lib/Router.d.ts @@ -83,8 +83,8 @@ declare namespace Router { interface RouteComponentProps
{ history?: History; - location?: Location; - params?: P; + location: Location; + params: P; route?: PlainRoute; routeParams?: R; routes?: PlainRoute[];