Andrew's Substack • 2 HN points • 09 Jun 24
- TypeScript 5.5 introduces inferred type predicates, improving variable type tracking through code, even when dealing with undefined values.
- Control flow narrowing for constant indexed access in TypeScript 5.5 allows for safer type handling when accessing object properties.
- TypeScript 5.5 now supports type imports in JSDoc, making it easier to import types for type-checking in JavaScript files.