TypeScript Generics are EASY once you know this
ByteGrad ByteGrad
115K subscribers
116,236 views
0

 Published On Sep 18, 2023

Hi, I'm Wesley. I'm a brand ambassador for Kinde. I'll help you master the latest tech here:

👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...
👉 Professional JavaScript Course: https://bytegrad.com/courses/professi...
👉 Professional CSS Course: https://bytegrad.com/courses/professi...

👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (BIG update soon): https://email.bytegrad.com

⏱️ Timestamps:
0:00 Example 1
4:11 Example 2
6:58 Example 3 (multiple type parameters)
9:23 React example
13:31 Extracting type
15:25 State setter function
17:08 'extends'
18:54 Inference vs specifying yourself

#webdevelopment #programming #coding

show more

Share/Embed