TypeScript 4.2 is an extension to JavaScript that adds static types and type-checking. With types, you can state exactly what your functions take, and what they’ll return. You can then use the TypeScript type-checker to catch lots of common mistakes.

14m read time From devblogs.microsoft.com
Post cover image
Table of contents
Smarter Type Alias PreservationLeading/Middle Rest Elements in Tuple TypesStricter Checks For TheUnderstanding Your Project Structure WithImproved Uncalled Function Checks in Logical ExpressionsDestructured Variables Can Be Explicitly Marked as UnusedRelaxed Rules Between Optional Properties and String Index SignaturesDeclare Missing Helper FunctionBreaking Changes
2 Comments

Sort: