It sure is! I had been reluctantly using the flatMap trick to work around it, so happy I don’t have to anymore. This would be worthy of a celebratory major version bump to 6.0, it’s the biggest quality-of-life improvement in ages!
10-20% performance improvements in editor services alone is huge. This is a big release! I haven’t gotten to the end yet, I wonder when this will be available and used in vscode stable.
At least the way I use Typescript VS Code loads my project’s typescript compiler from node_modules/typescript and only uses the version built into Code for intelligence in absence of typescript in node_modules like when editing a stand-alone JS file outside a project
Inferred type predicates is a huge deal: https://devblogs.microsoft.com/typescript/announcing-typescript-5-5
yes! been feeling the pain of this since I first started using typescript 7 years ago, honestly thought it wasn’t going to happen.
It sure is! I had been reluctantly using the
flatMaptrick to work around it, so happy I don’t have to anymore. This would be worthy of a celebratory major version bump to 6.0, it’s the biggest quality-of-life improvement in ages!10-20% performance improvements in editor services alone is huge. This is a big release! I haven’t gotten to the end yet, I wonder when this will be available and used in vscode stable.
At least the way I use Typescript VS Code loads my project’s typescript compiler from node_modules/typescript and only uses the version built into Code for intelligence in absence of typescript in node_modules like when editing a stand-alone JS file outside a project