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

feat(es/parser): Support stripping flow with ES parser #9114

Draft
wants to merge 234 commits into
base: main
Choose a base branch
from

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Jun 29, 2024

Description:

This PR adds support for flow syntax without a feature to construct AST. The parser strips out extra syntax, and the returned AST is identical to ECMAScript AST.

@kdy1 kdy1 added this to the Planned milestone Jun 29, 2024
@kdy1 kdy1 self-assigned this Jun 29, 2024
@rtrembecky
Copy link

hello, last week I found out I can't switch to @swc/jest for a React Native project, where react-native and expo dependencies need to be transformed, because they include the Flow types. do you think this will be merged in the foreseeable future? thanks.

@rtrembecky
Copy link

BTW I found https://github.com/changwoolab/flow-aware-swc-jest and tried it but also got some error. just sharing for visibility/reference

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

Successfully merging this pull request may close these issues.

2 participants