diff --git a/types/react-router-redux/index.d.ts b/types/react-router-redux/index.d.ts index bebaab7562..e224f92530 100644 --- a/types/react-router-redux/index.d.ts +++ b/types/react-router-redux/index.d.ts @@ -59,4 +59,20 @@ export interface RouterAction extends Action { payload: LocationActionPayload; } +export interface LocationChangeAction extends Action { + type: typeof LOCATION_CHANGE; + payload: Location & { + props?: { + match: { + path: string; + url: string; + params: any; + isExact: boolean; + }, + location: Location; + history: History; + } + }; +} + export function routerMiddleware(history: History): Middleware;