The first video in our TypeScript Narrowing series. Learn the concepts of narrowing and type guards.
📚 Read the article: https://www.lucaspaganini.com/academy/what-is-a-type-guard-typescript-narrowing-1
🚨 Subscribe to the newsletter: https://www.lucaspaganini.com/newsletter
📧 Email: [email protected]
🐦 Twitter: https://twitter.com/lucaspaganini
📸 Instagram: https://www.instagram.com/lucaspaganini/
----------
CHAPTERS
0:00 Introduction
0:57 What is Narrowing in TypeScript?
1:17 Why do we Need Narrowing?
1:56 What is a Type Guard?
3:02 Conclusion
RELATED
1. TypeScript Narrowing Part 2 - Fundamental Type Guards: https://youtu.be/ZdMfiVK7fcM
REFERENCES
1. TypeScript docs on narrowing: https://www.typescriptlang.org/docs/handbook/2/narrowing.html