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
Watch video No BS TS #8 - Generics with keyof in Typescript online without registration, duration hours minute second in high quality. This video was added by user Jack Herrington 30 April 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 29,862 once and liked it 1.4 thousand people.