9 Utility Types of TypeScript explained

preview_player
Показать описание
Did you know that TypeScript has some built-in generic types? In this episode we will discover the 9 most popular utilities of TypeScript. I collected some useful examples from my production projects, to help you understand how they work and in which circumstances you could use them. Getting familiar with these utilities can help you reduce a lot of time and code duplication in your TypeScript projects. A true life-saver for someone who's starting with TypeScript.

Read the article with the coding examples:

Contents
00:00 Intro
02:51 Introducing Utility Types
03:51 Partial
06:48 Required
08:30 Readonly
12:05 Record
14:59 Pick
17:15 Omit
18:58 Exclude & Extract
21:30 Nonnullable
23:45 Outro

Check out my ✨TypeScript course:

Links mentioned in the video
- My playlist with all the episodes of this series:

- Master Conditional Types in TypeScript:

- The Structural Type System of TypeScript; A Deep Dive to its Type Universe

- The official documentation with all the available utility types:

This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.

❤️ How to support this channel?
- Like this video
- Subscribe to the channel
- Share this video with your friends on social media (only if it helped you)
Рекомендации по теме
Комментарии
Автор

This series is better than even paid courses . Thank you

balaeinstein
Автор

Kudos to you. I had troubled understanding the utility part.

RafathBinZafarAuvee
Автор

So amazing!!! I'm telling everyone about this channel

ruimdedota
Автор

Great Video, I watched multiple videos but you explained awesome

mohsinbaig
Автор

Thanks for another great video Nicos. I’m actively recommending your channel to my junior team members!

Also, the word “genres” is pronounced like “John-raas” or “Dzshon-raas”. Please don’t take this as disrespect, I just want to help you out. In fact, I think your English pronunciation is otherwise excellent!

eqprog