Microsoft unveils TypeScript 5.3 with enhanced features, improved code navigation and more

Microsoft unveils TypeScript 5.3 with enhanced features, improved code navigation and more

Microsoft has unveiled TypeScript 5.3, introducing several enhancements and new features. The latest version supports the most recent updates to the import attributes proposal, including the resolution-mode attribute for import type. With TypeScript 5.3, the resolution-mode functions correctly with all moduleResolution options such as bundler, node10, and does not produce errors under classic.

The new version of TypeScript can also execute narrowing based on conditions in each case clause within a switch (true). Moreover, TypeScript 5.3 is designed to understand comparisons to Booleans when narrowing variables. The software more thoroughly checks super property accesses/method calls to determine if they correspond to class fields.

In addition, TypeScript’s inlay hints now facilitate jumping to the definition of types, thereby simplifying code navigation. TypeScript 5.3 includes other enhancements and features not detailed here. Microsoft has also revealed that work is already underway on TypeScript 5.4, with a stable release expected by the end of February 2024.

by Paul

  • ...

TypeScript is a programming language designed for application-scale JavaScript development. As a typed superset of JavaScript, it compiles to plain JavaScript across various browsers, hosts, and operating systems. It is an open-source platform, rated 4.7, recognized for its JavaScript support, typesafe, and typesetting features. TypeScript's leading alternatives include JavaScript, Dart, and CoffeeScript.

No comments so far, maybe you want to be first?
Gu