3 ms·
TypeScript 4.7 released with full ES module support in Node.js
- rektide 4y agoIt's a thing of terror & nightmares that there is so much TypeScript code in the universe, and that most of it is pre-compiled down into very old versions of JavaScript & legacy packaging solutions like CJS. I'm glad these release notes include some instructions for how to wrangle things in package.json[1], which is another long story unto itself. [1] https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#package-json-exports-imports-and-self-referencing https://devblogs.microsoft.com/typescript/announcing-typescr...