Загрузка видео...

Не удалось загрузить видео

На главную

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)
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)
Steve (Builder.io)3 лет назад

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

Фото профиля Prathamesh
Prathamesh3 лет назад

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

Фото профиля Emano
Emano3 лет назад

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

Фото профиля Robin D
Robin D3 лет назад

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

Фото профиля Peter Mekhaeil
Peter Mekhaeil3 лет назад

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

Фото профиля ☠ ‏Mr. Jack
☠ ‏Mr. Jack3 лет назад

This shit is unreadable

Фото профиля Chaitanya Sharma
Chaitanya Sharma3 лет назад

@ThePrimeagen did you incentivize him?👀

Фото профиля Demoniel
Demoniel3 лет назад

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

Фото профиля Bernardo Quina
Bernardo Quina3 лет назад

nice one

Похожие видео