Re:Node.js adds experimental support for TypeScript
by flanbiscuit on Thursday July 25, 2024 @04:02PM
(#41072750)
I do this as well. JSDoc is great for simple definitions, but as soon as you want to do something more complicated (generics, operators, access types, etc) you get stuck. The .d.ts are ignored because you're only importing them within JSDoc comments.
In a world where ES modules are natively supported everywhere it’s a joy to have a project “just work” with zero build steps.