Surviving the TypeScript Ecosystem — Part 6: Branding and Type-Tagging
Source on Github: TypeScript Demo
A quick note before we get into it: All of the examples in this post use TypeScript v2.9.1. If you see different behavior check your version. I will try to update examples from time-to-time with TypeScript updates.