No BS TS #8 - Generics with keyof in Typescript

Описание к видео No BS TS #8 - Generics with keyof in Typescript

The keyof operator in the generics context is as powerful as it is cool. Once you get the hang of it you are going to make some great APIs that are both easy to use and inherently type safe. You are going to fall in love with this Typescript operator.

00:00 Introduction
00:15 Start coding
00:25 Example #1 - Pluck
03:36 Example #2 - Event Map
07:30 Outroduction

Code: https://github.com/jherr/no-bs-ts/tre...

If you liked this video, buy me a coffee! https://www.buymeacoffee.com/bluecoll...

👉 What's my theme? Night Wolf [dark blue]
👉 What's that font? MonoLisa
👉 Jack is also on the React Round Up podcast: https://devchat.tv/podcasts/react-rou...
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Discord server signup:   / discord  

💢 Watch our other videos:
💟 Hacking your Github contribution graph:    • Hacking Your Github Contribution Grap...  
💟 More Typescript videos:    • JavaScript to TypeScript: Beginner to...  

Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.

#typescript #NoBSTS

Комментарии

Информация по комментариям в разработке