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
It is appears not possible to import types that are exported by an npm module in a natural way. For example, this works with flow but results in named error from eslint-plugin-import
import type {FormProps} from 'redux-form'
but this works and results in no eslint error
import type {FormProps} from 'redux-form/es/index.js.flow'
additionally
import type {FormProps} from 'redux-form/lib/index.js.flow'
I am happy to dig into root cause more (opening this now for tracking), but my guess is that the package.json module/main entries aren't being followed to find index.js.flow files. E.g., these fields in redux-form are
It is appears not possible to import types that are exported by an npm module in a natural way. For example, this works with flow but results in
named
error from eslint-plugin-importbut this works and results in no eslint error
additionally
I am happy to dig into root cause more (opening this now for tracking), but my guess is that the
package.json
module/main entries aren't being followed to findindex.js.flow
files. E.g., these fields in redux-form areThe text was updated successfully, but these errors were encountered: