TypeScript Weekly

Issue #131 — March 31, 2020

Announcing TypeScript 3.9 Beta

The beta of TypeScript 3.9 has been released, focusing mainly on performance, polish, and stability. A useful addition: // @ts-expect-error comments allow us to suppress errors, similar to // @ts-ignore comments.

Daniel Rosenwasser

The Omit Helper Type in TypeScript

An overview of the Omit<T, K> helper type which lets us create an object type that omits specific properties from another object type.

Marius Schulz

Class Definitions in TypeScript

How class definitions work in JavaScript and what additions TypeScript is making on top of that.

Dr. Axel Rauschmayer

Typing Custom React Hooks with Tuple Types

How to use tuple types to type the return value of a custom React hook that always returns an array with two elements.

Stefan Baumgartner

Deno 1.0 is around the corner!

Version 1.0 of Deno, a new secure runtime for JavaScript and TypeScript, is set to be released on May 13, 2020.

Ryan Dahl