This repository was archived by the owner on Apr 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 787
Flow errors about State type in combination with Redux and flow-typed #898
Comments
I am seeing the first error also, and similar errors. If I change for example |
Anything on this yet? |
The import errors seem to be resolved in react-apollo@1.4.12, the errors about store are still occurring though. Updated the example project to the newest versions. |
richardgirges
added a commit
to richardgirges/react-apollo
that referenced
this issue
Aug 12, 2017
…Store. Application of polymorphic type needs <list of 2 arguments>.`. This fix is basically adding inferred types (`*`) as arguments to all references to the Redux `Store` flow type inside of `index.js.flow`. This should fix apollographql#898.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Intended outcome:
react-apollo should work with react-redux, redux and flow-typed out of the box.
Actual outcome:
Running the flow type validation shows type errors in react-apollo related to redux Store type.
How to reproduce the issue:
Reproduced in this repo: https://github.com/Strayer/ApolloFlowIssues
Install dependencies, then run
yarn run flow
to see the errors.Version
Edit 2017-08-11: Removed now invalid part about import errors, updated versions.
The text was updated successfully, but these errors were encountered: