TypeScript 4.7 Beta, Dealing with Undefined

TypeScript Weekly

Issue #188 — April 11, 2022

Announcing TypeScript 4.7 Beta

The beta of TypeScript 4.7 adds several new features related to ECMAScript module support in Node. It also ships with control flow analysis for computed properties, instantiation expressions, and various other improvements.

Daniel Rosenwasser

How to Deal with Optional Things and Undefined in TypeScript

How to make your code more robust by dealing with undefined using various TypeScript language features.

Mattie Behrens

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)

Making Object Properties Partially Optional or Required

A quick walkthrough of how to implement the PartiallyOptional<T, K> and PartiallyRequired<T, K> helper types which let us make a subset of object properties optional or required.

Pawel Grzybek

How to Use Type Guards in TypeScript

An overview of how to use various kinds of type guards in TypeScript, including the instanceof, typeof, and in keywords. The article also covers narrowing based on equality checks as well as custom type guard functions.

Oyinkansola Awosan

Key phrases

Older messages

Variance Annotations in TypeScript, Functional Programming

Thursday, March 31, 2022

TypeScript Weekly Issue #187 — March 31, 2022 Functional Programming in TypeScript How Haskell knowledge can help you write better TypeScript code in a functional programming style. Aleksandr Pakulev

Typing Polymorphic Functions, Wordle in the Type System

Monday, March 21, 2022

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.

TypeScript 4.6, Type Syntax in JavaScript

Thursday, March 10, 2022

TypeScript Weekly Issue #185 — March 10, 2022 Announcing TypeScript 4.6 TypeScript 4.6 is out and ships with various quality-of-life improvements to TypeScript. Most notably, this includes control flow

TypeScript 4.6 RC, Assertion Functions, Type Hierarchy

Sunday, February 27, 2022

TypeScript Weekly Issue #184 — February 27, 2022 Announcing TypeScript 4.6 RC The release candidate of TypeScript 4.6 is out and ships with various quality-of-life improvements to TypeScript. Most

10 Most Popular Posts from 2021

Wednesday, February 9, 2022

TypeScript Weekly Issue #183 — February 6, 2022 Hi there! 👋 This is the first issue of TypeScript Weekly in 2022. Welcome back if you've been with us last year already, and welcome aboard if you

You Might Also Like

Stripe makes more changes

Thursday, April 25, 2024

TikTok is in trouble, and net neutrality is back View this email online in your browser By Christine Hall Thursday, April 25, 2024 Welcome back to TechCrunch PM, your home for all things startups,

💎 Issue 414 - From a Lorry Driver to Ruby on Rails Developer at 38

Thursday, April 25, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 414 - JavaScript Features That Most Developers Don’t Know

Thursday, April 25, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Issue 407 - The Performance Impact of C++'s `final` Keyword

Thursday, April 25, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 407 Release Date Apr 25, 2024 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 414 - Everyone Has JavaScript, Right?

Thursday, April 25, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 408 - All web browsers on iOS are just Safari with different design

Thursday, April 25, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 408 Release Date Apr 25, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💧 Don't Bother Liquid Cooling Your AMD CPU — Why You Should Keep Using Live Photos on iPhone

Thursday, April 25, 2024

Also: We review the Unistellar Odyssey iPhone Telescope, and More! How-To Geek Logo April 25, 2024 Did You Know Charles Darwin and Abraham Lincoln were both born on the same day: February 12, 1809. 💻

💻 Issue 332 - 🥇The first framework that lets you visualize your React/NodeJS app 🤯

Thursday, April 25, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 332 Release Date Apr 25, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 409 - Sized, DynSized, and Unsized by Niko Matsakis

Thursday, April 25, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 409 Release Date Apr 25, 2024 Your weekly report of the most popular Rust news, articles and projects

📱 Issue 411 - AI Starts to Sift Through String Theory's Near-Endless Possibilities

Thursday, April 25, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 411 Release Date Apr 25, 2024 Your weekly report of the most popular Swift news, articles and projects