ts-migrate icon indicating copy to clipboard operation
ts-migrate copied to clipboard

Migrating from Flow to TS

Open ValentinH opened this issue 5 years ago • 3 comments

This tool looks really promising. However, we are currently in the process of migrating our Flow codebase to TS.

Do you think that it would be possible to create some plugins to handle Flow to TS migrations? I'm currently using https://github.com/Khan/flow-to-ts but ts-migrate idea looks far more advanced 🙂

ValentinH avatar Aug 20 '20 17:08 ValentinH

some other tools you may wish to check https://react-typescript-cheatsheet.netlify.app/docs/migration/from_flow

swyxio avatar Aug 20 '20 17:08 swyxio

Yes, it's possible! We didn't have any flow code at Airbnb, so there was no reason for us to do this, but if someone wants to pick it up - it would be great :)

Rudeg avatar Aug 20 '20 18:08 Rudeg

https://github.com/Khan/flow-to-ts works well

joebowbeer avatar Sep 04 '20 22:09 joebowbeer