Update react-redux-i18n for react-redux 5.0.18 types (#25324)

* Update redux dependency

Update for the current 3.x redux

* Add required restriction of redux

* Action generic removed
This commit is contained in:
George
2018-05-07 21:42:54 +03:00
committed by Sheetal Nandi
parent 948a1e803e
commit deb8d04dbe
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ declare module 'react-redux-i18n' {
type TranslationObjects = { [lang: string]: SubTranslationObject };
type DispatchCallback<S> = {
type DispatchCallback<S extends redux.Action> = {
(dispatch?: redux.Dispatch<S>, getState?: () => S): any;
}

View File

@@ -1,6 +1,6 @@
{
"private": true,
"dependencies": {
"redux": "^3.6.0"
"redux": "^3.7.2"
}
}