News for hackers. Stuff that matters.
Re:Node.js adds experimental support for TypeScript by dobladov on Thursday July 25, 2024 @09:38AM (#41068560)
I use snippets to write those, yes it's more verbose there's not denying that.

For me the advantages of just having JS files and not worrying about more complex source-maps, build files, etc definitely makes it worth it.

Re:Node.js adds experimental support for TypeScript by FractalHQ on Thursday July 25, 2024 @04:10PM (#41072832)
Source maps and build files are automatically generated when bundling which you need to do with or without typescript… so this argument always confuses me. There is no tangible downside in my experience.. either way it’s just typing “pnpm build”.