Hacker News new | ask | show | jobs
by hiphipjorge 3672 days ago
Well, you still need some transpiling in order to remove the Flow type signatures. In practice, they end up being pretty similar in terms of needing a build step.
1 comments

You can embed the type information in special JS comments that the checker understands: http://flowtype.org/blog/2015/02/20/Flow-Comments.html

Your existing minification step will remove the comments. But even if you don't remove the comments the code will still run.