Standard decorators

TypeScript 5 introduces support for ECMAScript standard decorators (Stage 3). These are different from the experimental decorators we used before and follow the official specification.

Const type parameters

const type parameters allow inferring more precise types from literal values, eliminating the need for as const in many cases.

Performance improvements

TypeScript 5 includes significant performance improvements: faster compilations, lower memory usage, and better support for large projects with project references.

Advanced use of satisfies

The satisfies operator introduced in TypeScript 4.9 is now complemented with new capabilities that allow validating types without losing literal type inference.

Migration guide

Migrating to TypeScript 5 is relatively straightforward. Most breaking changes are minor and ecosystem tools already have full support.