4 ms·
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 ste
by hiphipjorge 10y 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.
- TAForObvReasons 10y agoYou can embed the type information in special JS comments that the checker understands: http://flowtype.org/blog/2015/02/20/Flow-Comments.html 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.