Typescript 5.5 With RegEx Syntax Checking
2 min read 4 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…