-
Notifications
You must be signed in to change notification settings - Fork 386
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 parsing errors #306
Comments
Hey @fagerbua, you're right, this is upstream issue. It's also reported here facebook/flow#5169 I think in the next version I'll simply copy source files and add Meanwhile I can only recommend to ignore What's your opinion on this? |
Actually, another workaround might be possible: generate flow types using |
@tricoder42 Thanks for looking into this. If you'd care to correct the files manually until In the meantime I'll add |
Released in v2.7.0. |
Describe the bug
Flow blows up with a load of parsing errors when lingui packages are added to the project.
To Reproduce
Minimal reproduction:
Result:
Expected behavior
No parsing errors should be introduced.
Additional context
I ran into this error in a real project when upgrading from Lingui 1 to the most recent version earlier this week. I suspect it's related to #250, as degrading to Lingui 2.3.0 made the errors go away. That again may possibly be related to facebook/flow#2830?
package.json
in my minimal reproduction looks like this:lingui --version
: 2.5.0The text was updated successfully, but these errors were encountered: