TypeScript 5.5 introduces several new features and optimizations, including inferred type predicates, improved control flow narrowing, type imports in JSDoc, regular expression syntax checking, isolated declarations, and more. Notable behavioral changes include the removal of deprecated options from TypeScript 5.0 and stricter
•23m read time• From devblogs.microsoft.com
Table of contents
Inferred Type PredicatesControl Flow Narrowing for Constant Indexed AccessesType Imports in JSDocRegular Expression Syntax CheckingIsolated DeclarationsThe ${configDir} Template Variable for Configuration FilesConsulting package.json Dependencies for Declaration File GenerationEditor and Watch-Mode Reliability ImprovementsPerformance and Size OptimizationsEasier API Consumption ECMAScript ModulesThe transpileDeclaration APINotable Behavioral ChangesWhat’s Next?Sort: