Microsoft shipped the latest iteration of its type-infused superset of JavaScript, TypeScript 5.5, introducing inferred type predicates, control flow narrowing, JSDoc @import and other enhancements.
Next TypeScript release, due February 25, will support a limited form of checking against conditional and indexed acces types in return statements. Microsoft has moved TypeScript 5.8 into the beta ...