Microsoft has released a beta version of TypeScript 5.4. TypeScript is a programming language that was developed by Microsoft. It is comparable to JavaScript in that it incorporates static typing and type annotations as optional features.
TypeScript 5.4 Beta
Today we are excited to announce the availability of TypeScript 5.4 Beta.
To get started using the beta, you can get it through NuGet, or through npm with the following command:
Copynpm install -D typescript@beta
Here’s a quick list of what’s new in TypeScript 5.4!
- Preserved Narrowing in Closures Following Last Assignments
- The
NoInfer
Utility TypeObject.groupBy
andMap.groupBy
- Support for
require()
calls in--moduleResolution bundler
and--module preserve
- Checked Import Attributes and Assertions
- Quick Fix for Adding Missing Parameters
- Upcoming 5.5 Deprecations
- Breaking Changes