Derived types in Typescript! (RWILT #3) #typescript

Channel:
Subscribers:
8,780
Published on ● Video Link: https://www.youtube.com/watch?v=q-3EvIAJsEA



Duration: 0:59
348 views
13


Reason Why I Love Typescript #3 (RWILT Episode 3)

Have you heard about type indexing in Typescript? It allows you to reference a piece of another type. For example, if you have a User type - you can derive the type of the user's ID by writing User['id'].

Find out more about this series on my blog:
https://doubledebug.vercel.app/blog/reasons-why-i-love-typescript/3

#shorts #webdevelopment #typescript #javascript
_________________________________________________________
Social media:
● Facebook: https://www.facebook.com/YoutubeDoubleD
● Twitter: https://twitter.com/YoutubeDoubleD
● Twitch: http://twitch.tv/NotDoubleD