We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React Strict DOM has a single file for Flow type definitions and a single file for TS type definitions.
The build step for this is fairly complex, however:
.js.flow
.d.ts
flow-api-translator
The script that concatenates the types from all the files is brittle and can break if we accidentally use the same type name in different files.
We should be able to simplify this process by using this Rollup-like bundler that understands Flow syntax.
We will need to wait for this bundler to be migrated to the hermes repo and open-sourced as a standalone package.
hermes
The text was updated successfully, but these errors were encountered:
I don't think that has been the case for a while. But it would be good to go back to 1-file libdefs using the flow bundler at some point
Sorry, something went wrong.
No branches or pull requests
React Strict DOM has a single file for Flow type definitions and a single file for TS type definitions.
The build step for this is fairly complex, however:
.js.flow
and.d.ts
files usingflow-api-translator
.The script that concatenates the types from all the files is brittle and can break if we accidentally use the same type name in different files.
We should be able to simplify this process by using this Rollup-like bundler that understands Flow syntax.
We will need to wait for this bundler to be migrated to the
hermes
repo and open-sourced as a standalone package.The text was updated successfully, but these errors were encountered: