You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actions are exported as redux-form.${action}, but flow declarations say it's redux-form.actions.${action}. For example this should work, but flow check fails:
// @flow
import * as ReduxForm from 'redux-form'
ReduxForm.initialize('some-form', {}, {})
Flow error:
react/t.js:4
4: ReduxForm.initialize('some-form', {}, {})
^^^^^^^^^^ property `initialize`. Property not found in
4: ReduxForm.initialize('some-form', {}, {})
^^^^^^^^^ exports of "redux-form"
What is the expected behavior?
Flow declarations should match code.
What's your environment?
redux-form 7.0.1
Other information
The text was updated successfully, but these errors were encountered:
What is the current behavior?
Actions are exported as redux-form.${action}, but flow declarations say it's redux-form.actions.${action}. For example this should work, but flow check fails:
Flow error:
What is the expected behavior?
Flow declarations should match code.
What's your environment?
redux-form 7.0.1
Other information
The text was updated successfully, but these errors were encountered: