TypeScript 5.5 introduces several new features and enhancements including inferred type predicates, control flow narrowing for constant indexed accesses, the JSDoc @import tag for type-checking in JavaScript files, regular expression syntax checking, and support for new ECMAScript Set methods. Additionally, improvements have
•27m read time• From devblogs.microsoft.com
Table of contents
What’s New Since the Beta and RC?Inferred Type PredicatesControl Flow Narrowing for Constant Indexed AccessesThe JSDoc @import TagRegular 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?1 Comment
Sort: