Published on
· Matt Pocock

This saved me HOURS of refactoring time

This post is auto-generated from a public YouTube video for personal study notes. It is not an endorsement. The transcript is machine-derived and may contain errors; refer to the original video for accuracy.

About this video

Learning about the difference between optional properties (name?: string) and undefined unions (name: string | undefined) can give you an amazing productivity boost for certain refactors.

Become a TypeScript Wizard with Matt's upcoming TypeScript Course:

Loading transcript…