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

Remove comment syntax from ReactNativeTypes #31457

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

huntie
Copy link
Member

@huntie huntie commented Nov 8, 2024

Summary

I'm working to get the main react-native package parsable by modern Flow tooling (both flow-bundler, flow-api-translator).

This diff trivially removes some redundant Flow comment syntax in ReactNativeTypes.js, which fixes parsing under these newer tools.

How did you test this change?

Files were pasted into react-native-github under fbsource, where Flow validates ✅.

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 1:16pm

@react-sizebot
Copy link

react-sizebot commented Nov 8, 2024

The size diff is too large to display in a single comment. The GitHub action for this pull request contains an artifact called 'sizebot-message.md' with the full message.

Generated by 🚫 dangerJS against d279459

@huntie
Copy link
Member Author

huntie commented Nov 8, 2024

V2: Address Prettier and ESLint errors on touched file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants