Published on
· Matt Pocock

8 TypeScript Tips To Expand Your Mind (and improve your code)

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

00:00 Intro 00:33 ReactNode vs Element 01:26 using for Unit Tests 03:08 Aliasing any to TODO 03:47 Generic functions vs any 04:56 Const Type Parameters 06:11 NoInfer 08:06 (typeof array)[number] 09:09 ElementRef

Become a TypeScript Wizard with my free beginners TypeScript Course:

Join the Discord:

Loading transcript…