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
What's the theme of handbook?(Could be installed in VSCode?)😬
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 Тренды
- 1. Kentucky 11.8K posts
- 2. Mark Pope N/A
- 3. Peggy 9,510 posts
- 4. Michigan State 9,121 posts
- 5. Clay Higgins 31.7K posts
- 6. #USMNT N/A
- 7. Grisham 5,627 posts
- 8. Berhalter N/A
- 9. Scotland 110K posts
- 10. Dearborn 94.2K posts
- 11. Saudi 289K posts
- 12. Switch 2 28.2K posts
- 13. Dominguez 3,329 posts
- 14. #LightningStrikes N/A
- 15. Cashman 1,557 posts
- 16. Brandon Garrison N/A
- 17. Izzo 1,466 posts
- 18. Nicki 150K posts
- 19. Bellinger 3,161 posts
- 20. Mary Bruce 10.1K posts
Something went wrong.
Something went wrong.