TypeScript Weekly

Issue #173 — June 24, 2021

Speed Up Compilation of Your TypeScript Projects

How to speed up the compilation time of your TypeScript projects using the SWC compiler. It’s fast!

Adam Polak

How to Use TypeScript with React 18 Alpha

How to use the new ReactDOM.createRoot() API in React 18 with TypeScript in a type-safe way.

John Reilly

Control Flow Analysis of Aliased Conditional Expressions and Discriminants

Once this PR lands, narrowing can occur through indirect references via a const variable. Have a look at the examples in the PR and it’ll make sense :)

Anders Hejlsberg

Building a Node.js CLI with TypeScript

How to build a Node.js CLI with TypeScript, packaged and distributed via the popular Homebrew package manager.

Sniptt Official