TypeScript: Using var in limited contexts to avoid runtime TDZ checks

This issue aims to explain and track some optimization work within the TypeScript compiler and language service. As of TypeScript 5.0, the project's output target was switched from es5 to es201… Read more

Similar

A safe router for TypeScript

I've been making web applications for some time now and one thing that keeps annoying me is the use of magic strings for declaring and matching routes. Webapps are getting more and more complex and static typing is getting more and more traction as a too... (more…)

Read more »