-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExtractReturn type is any #7071
Comments
I am having the same issue and it looks like that it is related to import bug mentioned in #6797 (comment) and probably to #4312 When I use type extracted using |
@MartinCerny-awin Thanks for this very usefull feedback! I'll keep an eye on these issues... |
It works if add export const foo = (): * => ({
type: FOO,
foo: 42
})
export const bar = (): * => ({
type: BAR,
bar: 42
}) Hope it will help someone. |
Interessing! By the way, I didn't updated this issue, as I'm no more working on web development. |
We now have |
I have problem with the
ExtractReturn
helper as reproduced in this example code.In
redux.js
,action
has typeany
, while it should be the returned type offoo
.Tested with flow 0.83.0, there is no error message.
Thanks for your yelp.
actions.js
:a.js
:redux.js
:The text was updated successfully, but these errors were encountered: