TypeScript Enums vs Union Types: Which Should You Use?
I spent way too long going back and forth on enums versus union types. Here's where I landed after trying both in real projects, covering numeric enums...
5 articles found
I spent way too long going back and forth on enums versus union types. Here's where I landed after trying both in real projects, covering numeric enums...
When our team decided to migrate to TypeScript, I thought it'd take a week. It took three months. Here's the full story -- what went smoothly, what broke...
TypeScript's built-in utility types didn't click for me right away. Then I started building real APIs and they became part of my daily toolkit. Here's a...
I put off learning TypeScript decorators for a long time. They looked like unnecessary magic. Then I actually used them on a real project -- and changed...
Generics separate TypeScript beginners from everyone else. Here are the patterns you'll actually reach for in real codebases, explained without the...