diff --git a/types/react-intl-redux/index.d.ts b/types/react-intl-redux/index.d.ts index 4410e7c019..ae7772ad78 100644 --- a/types/react-intl-redux/index.d.ts +++ b/types/react-intl-redux/index.d.ts @@ -17,7 +17,7 @@ interface IntlAction extends Action { payload?: IntlState } -export function intlReducer(state: IntlState, action: IntlAction): IntlState +export function intlReducer(state: IntlState | undefined, action: IntlAction): IntlState export function updateIntl (opts: IntlState): IntlAction export class IntlProvider extends ReactIntlProvider {} export class Provider extends ReduxProvider {} diff --git a/types/react-intl-redux/package.json b/types/react-intl-redux/package.json index 6d68bf2f9b..7f5b19d45b 100644 --- a/types/react-intl-redux/package.json +++ b/types/react-intl-redux/package.json @@ -1,6 +1,6 @@ { "private": true, "dependencies": { - "redux": "^3.6.0" + "redux": "^4.0.0" } }