TypeScript Weekly

Issue #186 — March 21, 2022

Type Polymorphic Functions In TypeScript

How to statically type functions that behave differently depending on the number and types of their arguments.

Zhenghao He

Patterns for Consuming REST API’s in TypeScript

Various TypeScript patterns for interacting with REST endpoints that address problems such as unnecessary coupling, backward compatibility, and runtime correctness.

Miłosz Piechocki

TypeScriptle: Wordle in TypeScript’s Type System

Using template literal types and recursive conditional types to implement Wordle in TypeScript’s type system.

Johannes Lumpe

TypeScript PR: Instantiation Expressions

A pull request by Anders Hejlsberg that implements instantiation expressions which provide the ability to specify type arguments for generic functions or generic constructors without actually calling them.

Anders Hejlsberg