Frontend @ Intuit | Ex MakeMyTrip, SAP | Javascript| Typescript | React | React Native | UI
I am a Frontend Engineer, based out of India, with 7+ years of building scalable web applications. I am passionate about clean code, design patterns, developer productivity and User Experience
Markdown supported · ⌘↵ to post
Lovely article, I started using typescript for my react projects last year and I had no idea about the Union Type or Enum.
Harshit Jain
Rob Levin
Thanks for the write up! I would say that intersection types and extending are right up there with union types in terms of usefulness. How often do we have an interface we want to extend with just a couple of properties. This is a pretty good article on intersection types.