A recent upgrade to Deno, the JavaScript and TypeScript runtime positioned as a rival to Node.js, improves performance for transpiling, type checking, and more, proponents say. 

Prior to the Deno 1.24 release, Deno internally converted TypeScript code to JavaScript using the TypeScript compiler when the

1
--check

flag was specified; otherwise, it used swc, a Rust-based platform for the web. Now, all emitting is done via

1
swc

, which is significantly faster. Thanks to architectural refactors, emitting no longer happens with

1
deno check

, and the cache used to store emitted JavaScript has improved. Also, Deno is smarter about not type checking if it has already type-checked some of the code previously.

To read this article in full, please click here


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *