SOFTWARE DEVELOPMENT

TypeScript 5.6 Reaches Release Candidate Stage

The latest update brings several new features and improvements

Olena Chyrkova
Major Digest

--

Photo by Timothy Cuenat on Unsplash

Microsoft’s TypeScript has reached another milestone with the release of TypeScript 5.6 RC (release candidate). The latest update brings several new features and improvements to the popular language.

New Features in TypeScript 5.6

The TypeScript 5.6 RC introduces a number of new types, including IteratorObject, which replaces the previous BuiltinIterator. This new type has been given a different set of type parameters and includes several subtypes such as ArrayIterator and MapIterator.

Renamed Types in TypeScript 5.6

In addition to the new types, Microsoft has also renamed several existing ones since the beta release. The BuiltinInterator type, which described every value backed by Iterator.prototype, has been replaced with IteratorObject.

Other New Features in TypeScript 5.6

Some other new features and improvements in TypeScript 5.6 include:

  • A new compiler option called --noCheck, which allows developers to skip type checking for all input files.
  • A feature called region-prioritized diagnostics, which allows editors to provide a relevant region of a given file instead of just requesting diagnostics for a set of files.
  • Corrected computed property checks in TypeScript 5.6.

TypeScript 5.6 Release Candidate

The TypeScript 5.6 RC can be accessed through NPM by running the command npm install -D typescript@rc. The first stable release of TypeScript 5.6 is due in a few weeks.

--

--