Introduction The best thing about typescript is that you can always start by using just the basic features of the language. You don't have to use every advanced feature of it right from the beginning. You can incrementally learn and implement stricte...

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.
Rob Levin
draw and code
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.