mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Update react-intl-redux' redux dependency (#36966)
react-intl-redux depends on react-redux and redux. react-redux also depends on redux, but a different version. This PR makes the versions the same. This fixes a DT build failure, and makes things less confusing.
This commit is contained in:
parent
f9fb7e64a5
commit
4868a800d3
2
types/react-intl-redux/index.d.ts
vendored
2
types/react-intl-redux/index.d.ts
vendored
@ -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<A extends Action = AnyAction> extends ReduxProvider<A> {}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"redux": "^3.6.0"
|
||||
"redux": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user