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 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
@typescript Yes! 4.5 roadmap looks great too, excited for the profiler / tracer upgrades!
@typescript @kentcdodds 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.
@typescript @acemarke The new capabilities for control flow analysis of aliased conditions and discriminants is fantastic! Great job 👏
@typescript 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
@typescript Programmer : Adding undefined for type safety Typescript : am I a joke to you.
@typescript What's the theme of handbook?(Could be installed in VSCode?)😬
@typescript @amandaksilver OOOOOOOH YOU KNOW WHAT I'M GONNA DO TODAY! TS UPGRADE PARTY!