thrift2flow icon indicating copy to clipboard operation
thrift2flow copied to clipboard

Fix Flow inexact type - bugfix

Open klyap opened this issue 6 years ago • 1 comments

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": https://github.com/flowtype/flow-bin/issues/125

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

klyap avatar Dec 04 '19 21:12 klyap

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 20 '20 19:11 CLAassistant