TypeScript's Utility Types... Blazing fast

preview_player
Показать описание
Between Pick, Omit, Exclude, Extract, ReturnType and many more, it's sometimes hard to know what TypeScript utility types are supposed to be used for. Here, I guide you through the context you need to use these tools to their maximum potential.

Become a TypeScript Wizard with my TypeScript Course:

Follow me on Twitter:

00:00 Intro
00:16 Partial and Required
00:28 Omit and Pick
00:47 Combining Utility Types
00:55 Readonly and Mutable
01:10 Union Types
01:21 Exclude
01:28 Extract
01:49 ReturnType and Parameters
02:20 NonNullable
02:27 Promise and Awaited
02:37 Challenge
Рекомендации по теме
Комментарии
Автор

Maybe the most insightful 3 minutes of TypeScript in my life

JulianColeman
Автор

quickly becoming my favorite "programming tutorial" genre channel. The value to time ratio is insane

nather
Автор

Matt, you are the real Wizard of TS .... \, , /

alemaolonghi
Автор

These videos are gold and especially bullshitless. Other YouTubers often convey the same amount of information in a 15 minutes tutorial.

BenjaminAster
Автор

The whole time I was watching this I kept saying "ohhhh my god" - absolutely unreal video

Adzuraa
Автор

Nice one, I didn‘t know about Extract and NonNullable

himbary
Автор

those tips about getting parameters and return types from external libraries is great.

pupfriend
Автор

I liked your tweet about them being the "gateway drug" to type level programming!

AlexTurpin
Автор

I wish there was a plugin for my IDE that would look at what I'm doing and say "There's a built-in utility type that does this, you should use it". Because I forget about some of these

GordonChil
Автор

I don't know why you have so few views, the videos are pure gold

petru-cristianboza
Автор

I learned about utilities like 5 months ago and man… whoever keeps creating this stuff, good shit

carterdee
Автор

Matt, your content are straight on the point and i learn more in a less time. Thank you

SpaghettiRealm
Автор

Been using typescript for a long time and did not know about most of these! 🔥

RodyDavis
Автор

Never looked back when I first came across TypeScript.

fav
Автор

Thank you you TypeScript wizard. I wish I had known of these sooner.

IceTank
Автор

The last example is what I literally did yesterday, but I didn't know any of this and I had to search for it. Thanks for the awesome video

mahmoudmohammad
Автор

u da best, no blah blah like other videos, just straight to the point with examples

rogerpantil
Автор

cant belive yuure a music teacher and now youre a programming teacher, life.... is so funny

BBStub
Автор

One more great video on this channel... quick and useful!

eulucascampelo
Автор

Thanks again Matt! Great list of useful types 😄

remynijsten-rsce