Closed clintwood closed 5 years ago
What's needed to get this PR merged? This feature would be great to have!
@leebyron, please could you take a look at this PR and PR #64 - the last release to flow-remove-types
was Oct 18, 2017
Hi! I apologise for how long it's taken us to look at this. It looks like a really valuable feature, and as I'm doing some work on this package towards a v2 release, I'd love to get this in as well.
That said, I have some concerns about the code as-is. @clintwood, would you have the bandwidth to address some feedback here?
With the greatest of respect I have switched to Typescript and do not have time to dig into this any longer. Please feel free to close or fork my branch and make the above changes. Thanks.
This PR adds a
-C
,--comment
options to Transform flow types to flow Comment Types in output.E.g.
$ flow-remove-types --comment source.js
outputs:
Closes #66.