How I use #TypeScript with #Node today: 1


How I use #TypeScript with #Node today:

1. For dev, I use ts-node. ts-node compiles TypeScript before passing it on to Node. Useful for npm scripts too.

2. For prod builds, I use tsc to compile TypeScript before passing it on to Node.

Anyone have a different approach?

View original on X