📢 TypeScript 4.4 comes with performance improvements, spelling suggestions and more
TypeScript 4.4 is now available for download. The latest version of TypeScript comes with performance improvements, and more new features.- Story by Kunal Chowdhury on
TECH NEWS DESK:
TypeScript is an open-source programming language, which extends JavaScript to bring static types to modern JavaScript. TypeScript language is designed, developed, and maintained by Microsoft to provide developers the ability to develop JavaScript applications for both client-side and server-side (Node.js) execution.
Microsoft announces TypeScript 4.4, which adds some new features and enhancements. Here's everything that you would like to know about the new features which are part of this release.
Here's a list of a few new features and enhancements that Microsoft added to TypeScript 4.4:
- Control Flow Analysis of Aliased Conditions and Discriminants
- Symbol and Template String Pattern Index Signatures
- Defaulting to the
unknown
Type in Catch Variables (--useUnknownInCatchVariables
) - Exact Optional Property Types (
--exactOptionalPropertyTypes
) - Class
static
Blocks tsc --help
Updates and Improvements- Performance Improvements
- Spelling Suggestions for JavaScript
- Inlay Hints
To get started using TypeScript 4.4, you can get it through NuGet, or use npm with the following command:
npm install typescript