Easy way to get 15 free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

How Did I Not Know This TypeScript Trick Earlier??!

Follow
Josh tried coding

This TypeScript trick to conditionally include types is so useful, especially for React props. I've asked myself how this is done many times before, and it's just really cool to learn something so simple yet useful.

links
Discord:   / discord  
My GitHub: https://github.com/joschan21

posted by zokucelaag