When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Microsoft introduces TypeScript 5.8: Explore the latest features and enhancements

The TypeScript logo

Microsoft has announced the launch of TypeScript 5.8, a programming language that builds on top of JavaScript. The new version is straightforward to install, you can get it from NuGet or if you prefer npm, just use the following command:

  • npm install -D typescript

While explaining TypeScript, Microsoft mentioned that if you use Visual Studio or VS Code to write JavaScript code, it turns out you’ve really been writing TypeScript code all this time. That enables TypeScript’s editor tooling to do auto-completion, code navigation, and refactorings.

TypeScript 5.8 comes with plenty of new upgrades for software developers to try out and leverage in their projects. Below, you can find a list of all the new features in TypeScript 5.8, and clicking the links will take you to Microsoft's announcement which contains a longer description of each feature plus code examples.

With TypeScript 5.8 out of the door, Microsoft is turning its attention to TypeScript 5.9. The team said to be on the lookout for its TypeScript 5.9 iteration plan.

The company said that it is also possible to run nightly versions of TypeScript 5.9 via npm. Nightlies are released at midnight PST every day but it's crucial to understand that these builds may not be well tested and could feature significant bugs. If you want to have a look anyway, enter the following command:

  • npm install -D typescript@next

To learn more about setting up TypeScript nightly with your IDE, check out the nightly documentation, it includes instructions for setting up with VS Code, Visual Studio, Sublime Text, and IntelliJ.

Source: Microsoft

Report a problem with article
Monster Hunter Wilds
Next Article

Monster Hunter Wilds blows past 1.3 million concurrent players on Steam alone

TWIRL logo in front of space photo
Previous Article

We have a busy week of rocket launches coming, including Starship IFT-8 - TWIRL #203

Join the conversation!

Login or Sign Up to read and post a comment.

4 Comments - Add comment