DEV Community

Discussion on: JavaScript Type Checking with Flow — Variables and Functions

Collapse
 
diek profile image
diek

This is interesting, does flow transpile too? It's the only thing I don't like about typescript, that sometimes it does some weird code transformation. I will search more about this. Thank you!

Collapse
 
aumayeung profile image
John Au-Yeung

Yes. It's supported by Babel and Create React App.

You can also incorporate Flow code as JavaScript comments, which means no transpiling required.