Copy

TypeScript Weekly

Issue #161 — January 13, 2021

Announcing TypeScript 4.2 Beta

The beta of TypeScript 4.2 has been released and ships with long-awaited smarter type alias preservation, leading/middle rest elements in tuple types, and other improvements, as usual.

Daniel Rosenwasser

Tidy TypeScript: Name Your Generics

It’s common to use single-letter names for generic type parameters, but it doesn’t have to be that way. Types are documentation, and type parameters can have descriptive names.

Stefan Baumgartner

TypeScript Helper Types

A Gist packed with different TypeScript Helper types. There’s lots to learn about the type system in those examples.

Philip Diffenderfer

Let’s learn TypeScript!

Code autocompletion, intuitive errors, and using code to clearly communicate with your teammates? Yes, please! Orta Therox teaches us how TypeScript-powered JavaScript gives us all this and more.

Jason Lengstorf, Orta Therox

Bundled TypeScript Declarations in the npm Registiry

The npm registry now shows a little TypeScript icon next to the name of a package that includes bundled TypeScript declarations.

Microsoft