-
Notifications
You must be signed in to change notification settings - Fork 97
Flow 0.50.0 throws errors in kefir #245
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
Comments
There are two articles about this on Flowtype that should help here: https://flow.org/en/docs/lang/variance/ I think the functions may just need to add |
I have a fix in #246 , but not sure if it's correct. As far as I understand Flow thinks that this code is unsafe because See also facebook/flow#2354 |
Yeahh variance errors are fun. I think that pull request looks right. |
Ok, probably should merge it. |
After upgrading to Flow 0.50.0 I am now getting the following Flow errors coming from
kefir
:The text was updated successfully, but these errors were encountered: