mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
[react-router-redux] Update action payload type (#11559)
The payload for React Redux Router action is a location object. For more information look at the source code [here](https://github.com/reactjs/react-router-redux/blob/master/src/sync.js#L95)
This commit is contained in:
committed by
Masahiro Wakame
parent
07453cbf8e
commit
da9bf4d701
2
react-router-redux/react-router-redux.d.ts
vendored
2
react-router-redux/react-router-redux.d.ts
vendored
@@ -29,7 +29,7 @@ declare namespace ReactRouterRedux {
|
||||
|
||||
type RouterAction = {
|
||||
type: string
|
||||
payload?: any
|
||||
payload?: LocationDescriptor
|
||||
}
|
||||
|
||||
interface RouteActions {
|
||||
|
||||
Reference in New Issue
Block a user