TypeScript utility types you need to know

preview_player
Показать описание

#typescript #javascript #webdev
Рекомендации по теме
Комментарии
Автор

Pure knowledge, more in a limited time than anyone else

harshitjoshi
Автор

There's also the Uppercase<T> and Lowercase<T> which can perform case changes on string literal types!

DanteDeRuwe
Автор

I had to use the Parameters utils class, because I had a package that DID export out the type that it accepts.. but then there was a plugin that extended that type, but THEY didn't export out the type..
Thankfully TS was cleaver enough that because I was importing the plugin, that imported the type, so the function could get the "end result" of what was allowed..
I was VERY impressed it worked..

Great job the TS team.

ColinRichardson
Автор

I have no idea how this came to my feed but I'm so glad it did.

robertluong
Автор

Damn, this was tons of info packed in a video. Great stuff.

jawyor-kt
Автор

I've been a frontend dev for over 10 years and I love your content! Quick, relevant and extensive knowledge sharing.

asdfzmg
Автор

I love this guys content and even tho I know that all i still watched it cause i love watching his videos, its pure brillant channel, i learned alot cause of him even tho i have been donig frontend for a few years

JEsterCW
Автор

One of the best videos about utility types in ts I have seen. Great stuff.

poujhit
Автор

Great video! This is so helpful for anyone struggling with typescript

devagr
Автор

In just 20s, you blew my mind. Awesome content !

guillaume
Автор

So much great information in under 3 minutes! 🎉

mitchelldirt
Автор

This is why I prefer Types instead a interface

carlosricardoziegler
Автор

I'm more impressed how you instantly wrapped the type with "<" and ">" characters. What extension are you using to do that without selection first?

jaya
Автор

This content is awesome.
This would’ve been so helpful when I was beginning to learn Typescript

RicardoValero
Автор

I feel like useState's state should be "readonly" by default, I mean, React should make it readonly by default right? Is there ever a scenario where it's NOT readonly?

justine_chang
Автор

Great content. One of the best tech channels

mohitmalhotra
Автор

Beautiful!! Thanks so much for these. Keep up the good work man. 😊

BlurryBit
Автор

This content is so helpful.
Keep up the good work!

agry
Автор

Hi Steve, Thank you🌹🌹. It was very cool. Please make more videos like this. Good luck.🙏🙏

mohammadjavadaghazadehfard
Автор

Yes, knew all of these. What I don't know is how you got your editor to wrap your generics properly for you. I need that.

codeman-dev