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
Parsing error: Identifier 'xyz' has already been declared #123
Comments
If flow doesn't support a type and a value having the same name, I don't think anything could be done here in a way that won't break the importing code realistically. |
Could flowgen allow to prefix types to prevent these issues? |
Maybe as an option? Could work for me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I was wondering how should I handle this kind of TypeScript annotations:
https://github.com/ianstormtaylor/slate/blob/main/packages/slate-react/src/plugin/react-editor.ts#L29-L34
Flowgen converts it to:
but then Flow errors because:
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: