Skip to content

Comment on How to Do a TypeScript Conversion

Comments

Bit of a shameless plug, but I wrote about how Etsy migrated to TypeScript a few years back. I agree with the author generally: TS strict mode is the way to go, and you may find yourself regretting the alternative, even if it sounds appealing. It takes a lot of work, but most of the effort ended up being:

1. writing types for the big, central libraries that everyone uses (and make them "smart enough" to infer as much as possible).

2. teaching everyone at the company a brand new language without them hating it, and without their team losing (much) velocity.

https://codeascraft.com/2021/11/08/etsys-journey-to-typescri...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.