diff --git a/react-router-redux/react-router-redux-2.x.d.ts b/react-router-redux/react-router-redux-2.x.d.ts index 5e38fe4bee..f02612a4ec 100644 --- a/react-router-redux/react-router-redux-2.x.d.ts +++ b/react-router-redux/react-router-redux-2.x.d.ts @@ -20,7 +20,7 @@ declare namespace ReactRouterRedux { const goForward: GoBackAction; const routeActions: RouteActions; - type LocationDescriptor = H.Location | H.Path; + type LocationDescriptor = H.LocationDescriptor; type PushAction = (nextLocation: LocationDescriptor) => void; type ReplaceAction = (nextLocation: LocationDescriptor) => void; type GoAction = (n: number) => void; diff --git a/react-router-redux/react-router-redux.d.ts b/react-router-redux/react-router-redux.d.ts index d91f1ad4e1..6a9d499b1f 100644 --- a/react-router-redux/react-router-redux.d.ts +++ b/react-router-redux/react-router-redux.d.ts @@ -20,7 +20,7 @@ declare namespace ReactRouterRedux { const goForward: GoBackAction; const routerActions: RouteActions; - type LocationDescriptor = H.Location | H.Path; + type LocationDescriptor = H.LocationDescriptor; type PushAction = (nextLocation: LocationDescriptor) => RouterAction; type ReplaceAction = (nextLocation: LocationDescriptor) => RouterAction; type GoAction = (n: number) => RouterAction;