TypeScript 4.8 RC, Exploration of Type Narrowing

TypeScript Weekly

Issue #194 — August 12, 2022

Announcing TypeScript 4.8 RC

The release candidate of TypeScript 4.8 improves type narrowing and compatibility for union and intersection types. It also makes rebuilds faster when using the --build, --watch, or --incremental flags. And, as always, there’s a whole bunch of smaller improvements as well.

Daniel Rosenwasser

Objects, Functions, and Type Narrowing

An exploration of how TypeScript narrows types and in which circumstances it decides to reset type narrowing. It’s interesting to see what tradeoff TypeScript makes between safety, predictability, and convenience.

Josh Goldberg

New White Paper: Guide to Code Reviews

Sema has just published a white paper on why code reviews matter and how to integrate them effectively into your team and organization. The white paper includes: why code reviews are important, how to explain the benefits of code review to a non-technical CEO, and the Six Golden Rules of Code Reviews. You can read the white paper here.

Sema Technologies (Sponsored)

How TypeScript Conditional Types Work

Conditional types in TypeScript let us check if a type conforms to a certain condition, and return types based on that.

Johnny Simpson

How Prisma Adapts Result Types

A walkthrough of how Prisma Client leverages conditional types to adapt result types based on the arguments provided to a function.

Patrick Kerschbaum

Curated by Marius Schulz
Twitter / Blog / Email

Older messages

Extreme Explorations of the Type System

Friday, August 5, 2022

TypeScript Weekly Issue #193 — August 5, 2022 Extreme Explorations of TypeScript's Type System Developers have pushed the bounds of type operations possible in the type system to write some pretty

TypeScript 4.8 Beta, TypeScript Tips & Tricks, Monorepos

Friday, June 24, 2022

TypeScript Weekly Issue #192 — June 24, 2022 Announcing TypeScript 4.8 Beta The beta release of TypeScript 4.8 improves type narrowing and compatibility for union and intersection types. It also makes

TypeScript 4.7 RC, Migrating Millions of Lines

Tuesday, May 24, 2022

TypeScript Weekly Issue #191 — May 24, 2022 Announcing TypeScript 4.7 RC The release candidate of TypeScript 4.7 adds several new features related to ECMAScript module support in Node. It also ships

The Ultimate TypeScript Thread, Ember's Road to TypeScript

Thursday, May 5, 2022

TypeScript Weekly Issue #190 — May 5, 2022 The Ultimate TypeScript Thread In this fantastic Twitter thread, Matt keeps sharing TypeScript tips to turn you into a TypeScript wizard. Highly recommended!

TypeScript and Set Theory, Understanding “keyof typeof”

Thursday, April 21, 2022

TypeScript Weekly Issue #189 — April 21, 2022 Types as Comments with the TypeScript Team Ryan Cavanaugh and Daniel Rosenwasser talk about the Type Annotations ECMAScript proposal in a JS Party episode

You Might Also Like

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power