-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Invalid files caused by flow type annotations? #353
Comments
Thanks for reporting this @jrnail23, indeed depcheck doesn't know how to parse flow annotations, we could just add the plugin for babel and make it work, will try to do something for this soon. |
@rumpl, FYI, I tried your suggestion by copying the existing jsx parser and adding |
Great! Sure go ahead, I would gladly merge this :) Thanks! |
@rumpl, the PR is up, ready for your review :-) |
Aaand merged! :) Do you want me to publish a new release? |
@rumpl, yes please! sorry, I didn't see this reply before mentioning the new version in my PR comments. |
I just pushed the 0.8.3 tag, it will be up on npm as soon as the tests pass Cheers |
Thanks! |
How do I get depcheck to properly handle files with flow type annotations in them?
The text was updated successfully, but these errors were encountered: