TypeScript Weekly

Issue #165 — March 4, 2021

Announcing TypeScript 4.2

TypeScript 4.2 is out and introduces smarter type alias preservation, leading/middle rest elements in tuple types, and more.

Daniel Rosenwasser

TypeScript: Narrow Types in catch Clauses

How to statically type the error binding in catch clauses in TypeScript: any versus unknown and why these are the only types TypeScript allows you to use.

Stefan Baumgartner

Using Pick in TypeScript

Using the Pick type in TypeScript to help clean up your codebase and make your type management easier and cleaner.

Todd Motto

Creating a Scientific Pitch Notation Type

How to create a scientific pitch notation type using template literal types.

Geoffrey Dhuyvetters