TypeScript 4.0 Beta, Type Guards and Assertion Functions

TypeScript Weekly

Issue #142 — June 29, 2020

Announcing TypeScript 4.0 Beta

The beta of TypeScript 4.0 is out and brings some exciting new features, including variadic tuple types, labeled tuple elements, the new assignment operators &&=, ||=, and ??=, and more.

Daniel Rosenwasser

Narrowing Types via Type Guards and Assertion Functions

Sometimes, a type is too general to be useful. This article explains how type guards and assertion functions can be used to narrow a type to a more specific one in a certain region of a program.

Dr. Axel Rauschmayer

TypeScript Types Deep Dive Part 4

The fourth part in Jaime’s video series on TypeScript’s type system. This one is about mapped types, conditional types, and the infer keyword.

Jaime González García

Improving Object.keys

How to type the Object.keys() method more accurately using a custom ObjectKeys<T> conditional type.

Stefan Baumgartner

Kretes

A programming environment for TypeScript built on top of Visual Studio Code. It combines a web framework with an editor into an integrated, batteries-included solution.

Jakub Neander

Older messages

Variadic Tuple Types, Interview with TypeScript's Engineering Lead

Monday, June 22, 2020

TypeScript Weekly Issue #141 — June 11, 2020 Talking TypeScript with the Engineering Lead An interview with Ryan Cavanaugh, the principal engineering lead for the TypeScript language at Microsoft. Ryan

TypeScript Types Deep Dive, Type Assertions

Thursday, June 11, 2020

TypeScript Weekly Issue #140 — June 11, 2020 Black Lives Matter. TypeScript Types Deep Dive (Part 1) In ~55 minutes, Jaime gives us an overview of how TypeScript is used at Google and walks us through

Introducing Snowpack 2.0, Dangers of TypeScript Enums

Wednesday, May 27, 2020

TypeScript Weekly Issue #138 — May 27, 2020 Introducing Snowpack 2.0 A build system for the modern web with built-in support for TypeScript and JSX. Fred K. Schott The Dangers of TypeScript Enums Tips

TypeScript Compiler in Rust, Dropbox's Migration to TypeScript

Tuesday, May 19, 2020

TypeScript Weekly Issue #137 — May 19, 2020 The Great CoffeeScript to TypeScript Migration of 2017 A detailed description of how Dropbox moved their codebase from CoffeeScript over to TypeScript.

TypeScript 3.9, Deno 1.0, Interfaces vs. Type Aliases

Thursday, May 14, 2020

TypeScript Weekly Issue #136 — May 14, 2020 Announcing TypeScript 3.9 For this release, the TypeScript team has been focusing on performance, polish, and stability. A useful addition: // @ts-expect-

You Might Also Like

Slack is under attack … and you don’t want that

Friday, May 17, 2024

Plus: OpenAI is not aligned with its Superalignment team View this email online in your browser By Christine Hall Friday, May 17, 2024 Good afternoon, and welcome back to TechCrunch PM. We made it to

Ilya Sutskever leaves OpenAI - Weekly News Roundup - Issue #467

Friday, May 17, 2024

Plus: Apple is close to using ChatGPT; Microsoft builds its own LLM; China is sending a humanoid robot to space; lab-grown meat is on shelves but there is a catch; hybrid mouse/rat brains; and more! ͏

SWLW #599: Surfing through trade-offs, How to do hard things, and more.

Friday, May 17, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

💾 There Will Never Be Another Windows XP — Why Ray Tracing is a Big Deal in Gaming

Friday, May 17, 2024

Also: What to Know About Google's Project Astra, and More! How-To Geek Logo May 17, 2024 Did You Know The very first mass-manufactured drinking straw was made of paper coated in wax; the straw was

It's the dawning of the age of AI

Friday, May 17, 2024

Plus: Musk is raging against the machine View this email online in your browser By Haje Jan Kamps Friday, May 17, 2024 Image Credits: Google Welcome to Startups Weekly — Haje's weekly recap of

Daily Coding Problem: Problem #1444 [Medium]

Friday, May 17, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yahoo. Recall that a full binary tree is one in which each node is either a leaf node,

(Not) Sent From My iPad

Friday, May 17, 2024

The future of computing remains frustrating (Not) Sent From My iPad By MG Siegler • 17 May 2024 View in browser View in browser I tried. I really did. I tried to put together and send this newsletter

iOS Dev Weekly - Issue 661

Friday, May 17, 2024

What's the word on everyone's lips? 🅰️👁️ View on the Web Archives ISSUE 661 May 17th 2024 Comment Did you catch Google I/O this week? It's Always Interesting to see what the Android

Your Google Play recap from I/O 2024

Friday, May 17, 2024

Check out all of our latest updates and announcements Email not displaying correctly? View it online May 2024 Google Play at I/O 2024 Check out the Google Play keynote to discover the latest products

A gorgeous sports watch - with week-long battery life

Friday, May 17, 2024

Microsoft Build; ChatGPT desktop app; Are all Linux vendor kernels insecure? -- ZDNET ZDNET Tech Today - US May 17, 2024 placeholder One of the most gorgeous sports watches I've tested also has