TypeScript 5.0 introduces new features, optimizations, and breaking changes. It brings many new features, while aiming to make TypeScript smaller, simpler, and faster. Some of the optimizations include improved performance and reduced package size. There are also breaking changes in the library definitions and API. Overall, TypeScript 5.0 provides developers with a more efficient and powerful tool for building JavaScript applications.
Table of contents
What’s New Since the Beta and RC?Decoratorsconst Type ParametersSupporting Multiple Configuration Files in extendsAll enum s Are Union enum s--moduleResolution bundlerResolution Customization Flags--verbatimModuleSyntaxSupport for export type *@satisfies Support in JSDoc@overload Support in JSDocPassing Emit-Specific Flags Under --buildCase-Insensitive Import Sorting in EditorsExhaustive switch / case CompletionsSpeed, Memory, and Package Size OptimizationsBreaking Changes and DeprecationsWhat’s Next?7 Comments
Sort: