snappify icon indicating copy to clipboard operation
snappify copied to clipboard

Add support for Flow

Open kangax opened this issue 6 years ago • 2 comments

I love the idea of this project but we're using Flow, not TypeScript. It'd be great to have support for Flow as well, perhaps using something like pluggable adapters (Flow, TypeScript, or anything that can infer props from a component file).

kangax avatar Jun 07 '18 01:06 kangax

Thank you!

Yes, I thought about Flow and consider to add support for it later. For example, snappify could check what syntax the code in a file has and use a needed parser for this file to get the types of the props.

Unfortunately, I’m a little bit busy now and don’t have enough time to implement this feature.

If you have an interest to implement it by yourself, I’d love to discuss the details of the implementation. PRs is welcome!

denisraslov avatar Jun 09 '18 09:06 denisraslov

Awesome. I'll see if I can find some time soon!

kangax avatar Jun 11 '18 16:06 kangax