TypeScript 5.5 introduces new features such as inferred type predicates, control flow narrowing for constant indexed accesses, type imports in JSDoc, regular expression syntax checking, support for new ECMAScript Set methods, isolated declarations, the `${configDir}` template variable for configuration files, and more. It also

28m read time From devblogs.microsoft.com
Post cover image
Table of contents
What’s New Since the Beta?Inferred Type PredicatesControl Flow Narrowing for Constant Indexed AccessesType Imports in JSDocRegular Expression Syntax CheckingSupport for New ECMAScript Set MethodsIsolated DeclarationsThe ${configDir} Template Variable for Configuration FilesConsulting package.json Dependencies for Declaration File GenerationEditor and Watch-Mode Reliability ImprovementsPerformance and Size OptimizationsEasier API Consumption from ECMAScript ModulesThe transpileDeclaration APINotable Behavioral ChangesWhat’s Next?

Sort: