mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 09:40:21 +08:00
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:
2
types/react-redux-i18n/index.d.ts
vendored
2
types/react-redux-i18n/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"redux": "^3.6.0"
|
||||
"redux": "^3.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user