TypeScript Conference 2024: What Was Shown to Developers
In early 2024, the annual conference dedicated to the development of TypeScript took place. The event gathered thousands of developers from around the world, and the Microsoft team presented a number of major announcements that will change the approach to writing typed JavaScript code. We have collected the most important news for those who follow the TypeScript ecosystem.
New Parser in Go: A Revolution in Speed
The main surprise of the conference — the TypeScript team announced the development of a new parser and transpiler written in Go. This solution is designed to dramatically speed up builds and type checking in large projects. The new tool is expected to be 5–10 times faster than the current JavaScript implementation. The project is still in the prototype stage, but initial tests show impressive results.
Decorators: Final Version in the Standard
After many years of waiting, decorators have finally received stable feature status in TypeScript 5.4 and above. This means developers can safely use decorators for classes, methods, and properties without additional flags. Along with this, full support for decorators in popular frameworks — Angular, NestJS, and others — has been announced. Now code with decorators will work identically in both TypeScript and future versions of JavaScript.
Isolated Declarations: New Build Mode
Another important announcement was the isolatedDeclarations mode. It allows compiling each TypeScript file independently of others. This is especially useful for monorepos and projects with a microservice architecture, where speeding up incremental builds is critical. Developers can enable this mode in tsconfig.json and get a performance boost of up to 40%.
Type System Improvements
- Conditional types with template literals — now you can create more flexible types based on string templates, simplifying work with APIs and ORMs.
- Automatic type narrowing in loops — the compiler has learned to more accurately determine variable types inside
forandwhileloops, reducing false errors. - Improved tuple support — variadic tuples with labels have been added, making code more readable and safer.
Integration with Modern Tools
The conference also announced improved integration of TypeScript with Vite, SWC, and Bun. These bundlers will now support all new language features without delays. Additionally, a plugin for ESLint was presented that automatically fixes common errors based on type analysis. This will reduce the number of bugs at the development stage and speed up code reviews.
Future Plans
The TypeScript team confirmed that they continue working on full support for ECMAScript decorators, as well as improving type checking performance for projects with millions of lines of code. The next release is expected to include experimental support for type effects for asynchronous code, which will simplify working with promises and streams.
The TypeScript 2024 conference showed that the language is not standing still. New tools, improved performance, and stable features make TypeScript an even more attractive choice for modern web projects. Follow updates on PythonLib to not miss new releases and practical TypeScript tutorials.