Skip to content

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