Mastering TypeScript Patterns for Production Code
Practical TypeScript patterns that make your code safer and more maintainable — discriminated unions, branded types, exhaustive checks, and builder patterns.
6 min read
Practical TypeScript patterns that make your code safer and more maintainable — discriminated unions, branded types, exhaustive checks, and builder patterns.
How I built this blog from scratch using Astro, Tailwind CSS, and a content-first architecture — including dark mode, syntax highlighting, and paginated listings.
Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.