Re:JavaScript Structs
by 7bit on Friday October 11, 2024 @04:47AM
(#41807603)
Types are great, but I prefer Not having to transpile everything. Stepping throught the TS Code with a Debugger ist non trivial.
[ Parent
| on HN ]
Re:JavaScript Structs
by nolist_policy on Friday October 11, 2024 @07:51AM
(#41808656)
You can use 90% of typescript from pure JavaScript: https://www.typescriptlang.org/docs/handbook/jsdoc-supported...
I'm not sure what setup you have, but debugging TS code is pretty trivial. I use vite for all my projects at work and when running the dev server there is seamless integrations with the debugging dev panel in Chrome or Firefox.