News for hackers. Stuff that matters.
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by desmap on Thursday August 06, 2020 @04:56AM (#24069248)
fwiw, TypeScript and ES Modules are just not compatible and never will be: https://github.com/microsoft/TypeScript/issues/18442#issueco...
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by WorldMaker on Thursday August 06, 2020 @05:15PM (#24075536)
That chart shows that Typescript is incompatible with CJS modules, because it inherits ES Modules incompatibilities with CJS, not that it it is incompatible with ES Modules.