Hacker News new | ask | show | jobs
by xymostech 3406 days ago
Flow actually explicitly allows this[1] by just /* */ commenting out the flow type signatures. We use this in Aphrodite's code base[2] and it works pretty well.

[1]: https://flowtype.org/blog/2015/02/20/Flow-Comments.html

[2]: https://github.com/Khan/aphrodite/blob/master/src/generate.j...