Загрузка видео...
Не удалось загрузить видео
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,411 просмотров • 3 лет назад •via X (Twitter)
Комментарии: 10

Steve (Builder.io)3 лет назад
Find all of the code examples, as well as more awesome utility types in TS, in the full blog post:

Steve (Builder.io)3 лет назад
Also if you love @typescript tips like this follow @mattpocockuk and take his course! He’s the wizard

Prathamesh3 лет назад
Man, you’re the best account I followed in 2023 Keep going 🚀

Emano3 лет назад
When defining types is more complex that the actual code ...

Robin D3 лет назад
Not gonna lie, TypeScript can get pretty disgusting real fast. 🤢

Peter Mekhaeil3 лет назад
Impressive work on explaining a use case for each and putting it in one video 👏

☠ Mr. Jack3 лет назад
This shit is unreadable

Chaitanya Sharma3 лет назад
@ThePrimeagen did you incentivize him?👀

Demoniel3 лет назад
omfg, I don't want to learn TS anymore, look at this ugly sintaxe using lots of <> 😭

Bernardo Quina3 лет назад
nice one
