Since the very first moment I learned about TypeScript, I knew there’s gonna be this one thing I’ll always hate: Enums. So un-elegant, so old-school, and so why-do-you-pollute-my-runtime. Well, I was wrong. I use Enums now. At least some of them. Let me show you. What is an Enum in TypeScript? First, let’s quickly talk about…