Master Conditional Types in TypeScript

preview_player
Показать описание
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 :)
Рекомендации по теме
Комментарии
Автор

This is great explanation. thanks a lot

g-ytub
Автор

Wonderful content, and practical examples. Best explanation I have found!

beedav
Автор

Very nice presentation and quite useful material to study.

neoftostheodridhs
Автор

Hi Nicos, can you cover MappedTypes with practical examples? Great videos by the way!

beedav
Автор

amazing video .... can u make a small project using typescript ????

jonstory
visit shbcf.ru