TypeScript 5.0
Last Thursday Microsoft announced a new version of TypeScript has been released. TypeScript 5.0 brings with it a faster, smaller, and simpler programming language while still managing to bring some new features.
Some of the new features introduced are support for the new decorators standard, simplified configuration, and expanded JSDoc functionality.
TypeScript is a superset of JavaScript aimed at making developer’s life a little easier. It adds strong typing to JavaScript and helps flush out bugs at compile time rather than run time. For those already familiar with TypeScript you do not need to worry about version 5.0. It is not a disruptive release, and Microsoft believes that the upgrade experience will me pretty close to drop in and play.
TypeScript 5.0 is available using npm with this command:
npm install -D typescript
or through NuGet with:
dotnet add package Microsoft.TypeScript.MSBuild --version 5.0.2
For a full rundown of features new in TypeScript 5.0 check out the announcement blog here.