š Typescript 5.1 BetaāIs Relaxed, Friendly And Fast
Typescript 5.1 Beta offers some interesting improvements relaxing strict rules, helping out JSX developers. The language service is more helpful, also for JSDoc writers. Several performance improvements boost Typescript speed a little bit. Itās a great release!
After a four months we see a new wave of important programming releases. One of such is Typescript 5.1 announced April, 18th, 2023.
Hereās your favorite and probably last human tech blogger covering that release š
In the wilderness of dynamic Javascript everything can happen. So Typescript had to be built as an opposition to it. Very strict about the rules. But sometimes it went too far causing frustrations among its adepts.
Typescript 5.1 is all about relaxing some rules to make coding fun again.
Less Strict Undefined Functions Rules
Traditionally, if you donāt return a value from a function, the type of the return value should be void. To be precise it is a keyword indicating function doesnāt return a value.