TypeScript 4.4 is here! Now with ✔ Smarter Control Flow Analysis ✔ Symbol & Pattern Indexers ✔ Stricter Checks ✔ Speed Improvements ✔ Inlay Hints ✔ Revamped --help and more! Read up more on our blog! devblogs.microsoft.com/typescript/ann…
The control flow analysis improvements look awesome 👏. Will it also work if we destruct `kind` in the function declaration, like so?: function area({ kind, …shape }: Shape): number
How can changing the type of the catch variable from `any` to `unknown` not cause a major version bump as it's a breaking change? I upgraded to 4.4, recompiled, and got errors. I fixed them, but still. I should be able to upgrade without touching anything else.
Yes! 4.5 roadmap looks great too, excited for the profiler / tracer upgrades!
The new capabilities for control flow analysis of aliased conditions and discriminants is fantastic! Great job 👏
What I'd really like to see is an alternative --strict flag that enables all the sane flags like --noUncheckedIndexedAccess, since the count of these good but non-strict flags seem to be increasing
Programmer : Adding undefined for type safety Typescript : am I a joke to you.
OOOOOOOH YOU KNOW WHAT I'M GONNA DO TODAY! TS UPGRADE PARTY!
United States Trends
- 1. Mamdani 336K posts
- 2. #SmackDown 16.4K posts
- 3. Aiyuk 3,893 posts
- 4. Kandi 6,402 posts
- 5. Mama Joyce 2,292 posts
- 6. Azzi 4,315 posts
- 7. Sarah Strong 2,263 posts
- 8. Hannah Hidalgo 1,415 posts
- 9. Congress in January 2,855 posts
- 10. Joshua 53.6K posts
- 11. Rep. Marjorie Taylor Greene 3,571 posts
- 12. Ilja 2,222 posts
- 13. End 1Q N/A
- 14. Chance Moore N/A
- 15. #RissaHatchDay25 6,469 posts
- 16. JD McDonagh 1,344 posts
- 17. #ItsGoodToBeRight N/A
- 18. Khalifa 45.9K posts
- 19. Kam Williams N/A
- 20. #RHOA 2,461 posts
Something went wrong.
Something went wrong.