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 ...
Since the beta release, which arrived January 29, TypeScript’s builders pulled back some work on how functions with conditional return types are checked. The plan now is to iterate on the feature and ...
Microsoft shipped TypeScript 5.8 with improved type checking in some scenarios, but thorny problems caused the dev team to delay related work to the next release. The plan was for TypeScript 5.8 to ...