News for hackers. Stuff that matters.
Re:How an Anti-TypeScript “JavaScript developer” like me bec... by SmellyPotato22 on Tuesday March 02, 2021 @12:09PM (#26317541)
If you are working on the server side, ts-node has been a huge timesaver. It removes the extra step of compiling and lets you just run your script with `ts-node script.ts` or even `#!/usr/bin/env ts-node` at the top of your file works.

https://github.com/TypeStrong/ts-node

Re:How an Anti-TypeScript “JavaScript developer” like me bec... by SavantIdiot on Tuesday March 02, 2021 @03:20PM (#26320059)
Thanks for the node tip!

I built an electron webpack framework and it uses hot reloads, but since i fork a lot of processes, it doesn't quite understand those need to be reloaded too! Got a fix for that by any chance?

Re:How an Anti-TypeScript “JavaScript developer” like me bec... by hasmolo on Tuesday March 02, 2021 @12:21PM (#26317706)
babel-node is also very nice, and more lenient about type checking. i've discovered nodemon with babel node gives me the ability to hack something together and adding a tsc build pipeline helps me correct the types when i'm done