🎉
Things I Wish Someone Had Told Me Sooner
January 04, 2020
TS Node
ts-node lets you run .ts files from the cli as if they were transpiled .js files.
Simply install it:
$ npm install -g ts-node
$ npm install -g typescript
And run a .ts file:
$ ts-node script.ts
Or use it as a REPL:
$ ts-node
Nodemon even supports it out of the box!