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.
What's the theme of handbook?(Could be installed in VSCode?)😬
OOOOOOOH YOU KNOW WHAT I'M GONNA DO TODAY! TS UPGRADE PARTY!
United States الاتجاهات
- 1. #AEWDynamite 6,458 posts
- 2. #Survivor49 N/A
- 3. Donovan Mitchell 2,081 posts
- 4. Jarrett Allen N/A
- 5. #CMAawards 1,381 posts
- 6. #TheChallenge41 N/A
- 7. Sengun 2,932 posts
- 8. Ricochet 1,850 posts
- 9. FEMA 24.5K posts
- 10. #cma2025 N/A
- 11. Bobby Lashley N/A
- 12. Koa Peat N/A
- 13. Sheila Cherfilus-McCormick 20K posts
- 14. WE HURT PEOPLE 1,425 posts
- 15. $NVDA 87.4K posts
- 16. Don Callis N/A
- 17. Top Flight N/A
- 18. Ryan Leonard N/A
- 19. Peggy 40K posts
- 20. Josh Alexander N/A
Something went wrong.
Something went wrong.