Notice

Forum sign-up and posting have been fixed as of 4/17/25 524am MST. Please give the community a try!
Anyone with an account beforehand can reset their password to login.

Share

TypeScript 5.1 production release arrives

 TypeScript 5.1, featuring easier implicit returns for undefined-returning functions and allowing unrelated types for getters and setters, is now available as a production release as of June 1.

Version 5.1 features a whole host of coding enhancements for Microsoft’s strongly typed language that builds on JavaScript. With easier implicit returns for undefined-returning functions, TypeScript 5.1 allows undefined-returning functions to have no return statement, fixing a situation in which only functions that could have absolutely no return statements were void-returning and any-returning functions. This meant that even if a developer explicitly indicated that a function returned undefined, at least one return statement was required.

To read this article in full, please click here

Author: . [Source Link (*), InfoWorld]

Shop with us!

You may also like...

Leave a Reply