Skip to content
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

Fix Flow inexact type - bugfix #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

klyap
Copy link

@klyap klyap commented Dec 4, 2019

In some situations, we'd like to pass in an inexact types into the generated functions. However, this throws a Flow error which can be fixed by wrapping types with "readonly": flow/flow-bin#125

Without this adjustment, the workarounds are either $FlowFixMe or force casting the input.

@klyap klyap changed the title fix Flow inexact type Bugfix: fix Flow inexact type [WIP] Dec 4, 2019
@klyap klyap changed the title Bugfix: fix Flow inexact type [WIP] Fix Flow inexact type [bugfix] Dec 4, 2019
@klyap klyap changed the title Fix Flow inexact type [bugfix] Fix Flow inexact type - bugfix Dec 4, 2019
@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants