Loading video...
Video Failed to Load
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,402 views • 3 years ago •via X (Twitter)
10 Comments

Steve (Builder.io)3 years ago
Find all of the code examples, as well as more awesome utility types in TS, in the full blog post:

Steve (Builder.io)3 years ago
Also if you love @typescript tips like this follow @mattpocockuk and take his course! He’s the wizard

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

Emano3 years ago
When defining types is more complex that the actual code ...

Robin D3 years ago
Not gonna lie, TypeScript can get pretty disgusting real fast. 🤢

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

☠ Mr. Jack3 years ago
This shit is unreadable

Chaitanya Sharma3 years ago
@ThePrimeagen did you incentivize him?👀

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

Bernardo Quina3 years ago
nice one
