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

Error while parsing common.js #580

Open
FDiskas opened this issue Jan 12, 2023 · 1 comment · May be fixed by #585
Open

Error while parsing common.js #580

FDiskas opened this issue Jan 12, 2023 · 1 comment · May be fixed by #585

Comments

@FDiskas
Copy link

FDiskas commented Jan 12, 2023

eslint src --fix --cache --ext .ts,.tsx

After running eslint we got error

Error while parsing /***/node_modules/react-native-linear-gradient/common.js
Line 4, column 33: Identifier expected.

wondering why common.js is published with typings from @flow it should be stripped out before being published.
*.js file should not contain typings in it.

@FDiskas FDiskas linked a pull request Feb 13, 2023 that will close this issue
@ETLopes
Copy link

ETLopes commented Nov 29, 2023

Is there any way for this issue to fixed by @FDiskas PR? I'm trying to integrate @swc/jest into my project and this is a blocker.

swc-project/swc#8198 (comment)

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

Successfully merging a pull request may close this issue.

2 participants