Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Do you know about ReturnType in TypeScript? What about Awaited or Parameters? Utility types can unlock a lot of power to keep your code type safe, even when your npm packages aren't perfect More magic you can do with utility types in my latest article:

268,458 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Steve (Builder.io) profil fotoğrafı
Steve (Builder.io)3 yıl önce

Find all of the code examples, as well as more awesome utility types in TS, in the full blog post:

Steve (Builder.io) profil fotoğrafı
Steve (Builder.io)3 yıl önce

Also if you love @typescript tips like this follow @mattpocockuk and take his course! He’s the wizard

Prathamesh profil fotoğrafı
Prathamesh3 yıl önce

Man, you’re the best account I followed in 2023 Keep going 🚀

Emano profil fotoğrafı
Emano3 yıl önce

When defining types is more complex that the actual code ...

Robin D profil fotoğrafı
Robin D3 yıl önce

Not gonna lie, TypeScript can get pretty disgusting real fast. 🤢

Peter Mekhaeil profil fotoğrafı
Peter Mekhaeil3 yıl önce

Impressive work on explaining a use case for each and putting it in one video 👏

☠ ‏Mr. Jack profil fotoğrafı
☠ ‏Mr. Jack3 yıl önce

This shit is unreadable

Chaitanya Sharma profil fotoğrafı
Chaitanya Sharma3 yıl önce

@ThePrimeagen did you incentivize him?👀

Demoniel profil fotoğrafı
Demoniel3 yıl önce

omfg, I don't want to learn TS anymore, look at this ugly sintaxe using lots of <> 😭

Bernardo Quina profil fotoğrafı
Bernardo Quina3 yıl önce

nice one

Benzer Videolar

Seungcheol with Suho, Jaehyun and Jiwon ! Unreleased clip 🎬 !! Jiwon, Scoups, and Suho trying to explain this to Jaehyun that why Blood types are more important than MBTIs 😭😂 (I've added eng subs in the video as well) 🖤 : What is your blood type? 🍒 : I'm type AB. 🖤 : Yours ? 🐰 : I'm type AB. 🖤 : And you? 🐶 : I'm type A 🖤 : Wow, there are two ABs? 🐰 : What is yours hyung ? 🖤 : I'm type A. 🐰 : Oh, you're type A? 🍒 : A, A, AB, AB 🐶 : Don't people usually talk about MBTI these days? 🍒 : Why are you saying like that to hyung, you punk?! 🖤 : Hey, if this debate starts again here... that means we aren't going home... Do you care about MBTI? 🐶 : I don't care about anything. 🐶 : But I really don't care about blood types. 🐰 : Blood types are important. 🍒 : Blood types are more... 🖤 : Blood types are right 🍒 : Isn't it more certain? 🐰 : Blood type is important. 🍒 : Because that's literally 'blood'. 🖤 : Right! Blood... 🖤 : MBTI changes depending on the environment as you live your life. 🐶 : Right, right, it changes. 🖤 : But blood types don't change. And if you are type A, If you're dying because you lack blood, I can give you blood via transfusion. 🐰 : But I can't give it to you. 🐶 : That is... yes... 🖤 : Can you give blood just because your MBTI is the same? 🐶 : No, you can't. 🖤 : See? Because you and I are both type A, we have something similar, which is why I can give you my blood. 🐶 : Ah... I see 🐶 : No, while watching a broadcast, when Eun Jiwon sunbaenim was insisting that aliens exist, I thought, 'Why are people losing the argument to him?' But you really do end up losing to him. #SCOUPS #에스쿱스

Ady⚡️

52,241 görüntüleme • 10 gün önce