From 3f0988d6a0fa58d4decb57514e37bbb748998283 Mon Sep 17 00:00:00 2001 From: mbeauchamp7 Date: Sun, 24 Jul 2016 03:09:02 -0400 Subject: [PATCH] changed push command to fit react-router's push (#10041) --- react-router-redux/react-router-redux-2.x.d.ts | 2 +- react-router-redux/react-router-redux.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;