TypeScript delays ESM support for Node.js

TypeScript 4.5, a planned upgrade to Microsoft’s strongly typed language based on JavaScript, will not include support for ECMAScript modules in Node.js 12 after all.This capability was planned for TypeScript 4.5 when the beta was revealed on October 1, but has been deferred to a future release. Meanwhile, it will be available only under an experimental flag in nightly releases. Concerns around ecosystem readiness and general guidance on using the feature prompted the postponement. [ Also on InfoWorld: 7 tools transforming JavaScript development ] Node.js, which can work with TypeScript, has been working to support ECMAScript modules (ESM), which enable packaging of JavaScript code for reuse. This work has been difficult because Node.js was built on a different module system, CommonJS, Microsoft said. But ESM was largely implemented in Node.js 12.To read this article in full, please click here

Nov 30, -0001 - 00:00
 0
TypeScript delays ESM support for Node.js
Techatty All-in-1 Publishing
Techatty All-in-1 Publishing

TypeScript 4.5, a planned upgrade to Microsoft’s strongly typed language based on JavaScript, will not include support for ECMAScript modules in Node.js 12 after all.

This capability was planned for TypeScript 4.5 when the beta was revealed on October 1, but has been deferred to a future release. Meanwhile, it will be available only under an experimental flag in nightly releases. Concerns around ecosystem readiness and general guidance on using the feature prompted the postponement.

Node.js, which can work with TypeScript, has been working to support ECMAScript modules (ESM), which enable packaging of JavaScript code for reuse. This work has been difficult because Node.js was built on a different module system, CommonJS, Microsoft said. But ESM was largely implemented in Node.js 12.

To read this article in full, please click here

Talk to Techatty
Talk to Techatty
Techatty Connecting the world of tech differently! Read. Write. Learn. Thrive. Make an informed decision without distractions. We are building tech media and publication networks to connect YOU and everyone to reliable information, opportunities, and resources to achieve greater success.