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
{{ message }}
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
I've been setting up a new project to use recompose + flow and everything is working great except that flow coverage is not 100% because apparently flow is inferring type any the compose function.
Both Visual Studio Code and flow coverage tell me that I have some uncovered code, and VSC shows that it's because compose has type 'any'. Also I tried manually using the $Compose util type but VSC says it's typed to any as well.
@istarkov the issue is basically that the flow types are being loaded for some of the api but not other parts. I seem to be able to load the types for pure and withStateHandlers but not for compose. Might not be an issue with recompose.
I've been setting up a new project to use recompose + flow and everything is working great except that flow coverage is not 100% because apparently flow is inferring type
any
thecompose
function.Here is the example code:
Both Visual Studio Code and
flow coverage
tell me that I have some uncovered code, and VSC shows that it's because compose has type 'any'. Also I tried manually using the $Compose util type but VSC says it's typed toany
as well.react: 16.2.0
recompose: 0.26.0
flow-bin: 0.61.0
flow-typed: 2.2.3
flow-typed install recompose
results in these being the definitions.The text was updated successfully, but these errors were encountered: