Typescript 5.5 With RegEx Syntax Checking

Tom Smykowski
2 min read4 days ago

--

Typescript 5.5 was announced just several days ago. It includes a lot of interesting features. Especially I like the ones that continue to figure out types properly, so errors aren’t so confusing.

But there’s one quite major new thing in that release that so far is received with mixed feelings among Typescript developers.

Namely, it’s Regex syntax checking.

In Javascript you can use RegEx out of the box. You can provide a regular expression as a string, or, what can be surprising for other developers: right…

--

--

Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora, reached 23rd floor in Shuttered Pixel Dungeon