filmov
tv
Master Conditional Types in TypeScript

Показать описание
Did you know that TypeScript differs from any other programming language when it comes to comparing types? This episode is an introduction to TypeScript Structural Type System. It's a deep dive to its type universe, to help you understand how the language treats types. Discover all the available types and how they are related to each other. Get familiar with the weird parts of TypeScript when it comes to type compatibility. Review the top level types and what they support. We will also learn how they are related with the wildcards any, unknown and never. Stay until the end, to discover the nullable primitive values and how they are related with other types.
Contents
00:00 Intro
01:50 The extends keyword
05:13 Conditional types
08:24 How do conditional types work?
11:18 Creating object structures
17:36 Outro
Check out my ✨TypeScript course:
Links I mention in the video
- My blog post with all the coding examples:
- My playlist with all the episodes of this series:
- My previous video about the structural type system of TS:
This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.
You can support this channel by clicking SUBSCRIBE :)
Contents
00:00 Intro
01:50 The extends keyword
05:13 Conditional types
08:24 How do conditional types work?
11:18 Creating object structures
17:36 Outro
Check out my ✨TypeScript course:
Links I mention in the video
- My blog post with all the coding examples:
- My playlist with all the episodes of this series:
- My previous video about the structural type system of TS:
This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.
You can support this channel by clicking SUBSCRIBE :)
Комментарии