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…

typescript's tweet image. 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.


Update. Do it now. Now!


OOOOOOOH YOU KNOW WHAT I'M GONNA DO TODAY! TS UPGRADE PARTY!


United States Тренды
Loading...

Something went wrong.


Something went wrong.