šŸŸ Typescript 5.1 Betaā€ŠIs Relaxed, Friendly And Fast

Tom Smykowski
6 min readApr 22, 2023

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.

--

--

Tom Smykowski
Tom Smykowski

Written by Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora. Won Shattered Pixel Dungeon.

Responses (1)