React-final-form: Flow types missing

Created on 28 May 2019  路  4Comments  路  Source: final-form/react-final-form

Are you submitting a bug report or a feature request?

Bug report

What is the current behavior?

import { type FormRenderProps } from "react-final-form"

causes the following error:

Cannot import FormRenderProps because there is no FormRenderProps export in react-final-form.

What is the expected behavior?

The type should be imported

What's your environment?

[email protected]
[email protected]

Most helpful comment

The same issue with other types like FieldRenderProps. Something went wrong here

All 4 comments

The same issue with other types like FieldRenderProps. Something went wrong here

Published fix in v6.0.1.

Your comment helped tremendously, @eugene-stativka! 鉂わ笍

I'm not sure that it is fixed yet. As I understand, rollup's flow plugin was removed in commit that Eugene mentioned. I have 6.3.0 installed and there's no .js.flow files with types. Only typescript ones

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kavink picture kavink  路  5Comments

niros-welldone picture niros-welldone  路  3Comments

LucienBouletRoblin picture LucienBouletRoblin  路  3Comments

3dos picture 3dos  路  3Comments

mewben picture mewben  路  3Comments