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

Flow types missing #500

Closed
tpbowden opened this issue May 28, 2019 · 4 comments · Fixed by #505
Closed

Flow types missing #500

tpbowden opened this issue May 28, 2019 · 4 comments · Fixed by #505

Comments

@tpbowden
Copy link

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?

react-final-form@6.0.0
flow@0.98.1
@eugene-stativka
Copy link
Contributor

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

@erikras
Copy link
Member

erikras commented May 29, 2019

Published fix in v6.0.1.

@erikras
Copy link
Member

erikras commented May 29, 2019

Your comment helped tremendously, @eugene-stativka! ❤️

@Dema
Copy link

Dema commented Jul 27, 2019

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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants