What are Branded Types? (And When You Should Use Them) in TypeScript @HAMYLABS
What are Branded Types? (And When You Should Use Them) in TypeScript  @HAMYLABS
Uploaded June 2025 | Updated November 2026, 2 days ago
In this video we explore Branded types in TypeScript - what they are, how to use them, and when you should use them.

Original blog post with all code and links: https://hamy.xyz/blog/2025-05_typescript-branded-types

Chapters

00:00 - Intro
00:20 - TypeScript Types
02:00 - TypeScript Branded Types
03:40 - When to use Branded Types
05:35 - Other ways to Brand Types

Links:

- Why Type-safe Programming Languages are better than Dynamic - Faster, Safer Software at Scale - youtube.com/watch?v=xl9DeGYC36I&ab_channel=HAMYLABS
- My 2025 Programming Language Tier List - youtube.com/watch?v=yEIvl2Nuneg&ab_channel=HAMYLABS
- Types vs No Types - How Types Allow Code to Scale across Developers, Organizations, and Code Size - youtube.com/watch?v=ntNGPompHsA&ab_channel=HAMYLABS

About me: I'm Hamilton - a Technomancer building Simple Scalable Systems.

Connect with me:

- Website: https://hamy.xyz
- Email List: hamniverse.substack.com
- Twitter: @SIRHAMY - twitter.com/SIRHAMY
- BlueSky: https://bsky.app/profile/sirhamy.bsky.social
- Pod Cast: HAMY LABS POD - hamylabspod.buzzsprout.com

# Support

If you liked this and would like to see more, consider becoming a supporter: https://hamy.xyz/labs/haminions

Supporters get:
* Full source code access from courses / tutorials
* Exclusive discounts on products / courses

Plus you help me to keep experimenting / sharing!

For Sponsorship info: https://hamy.xyz/labs/sponsors
What are Branded Types? (And When You Should Use Them) in TypeScriptAdvent of Code 2024 in F# - Day 1How to Generate Ghibli-style Images with AIHow to Fix Lenovo P1 Gen 7 Screen FlickeringHow I use Claude Code as my personal assistant from my phoneLaunching HAMY SHOP v3 - F#, C#, Rust, and Go merchMy Multi-Computer WFH Productivity Desk Setup as a Software Engineer and YouTuberWhy Im Shutting Down 1000 CheckboxesHow to Delete a Google Cloud ProjectHow I Review my Code with AIHow HTMX Unlocks Modern Web Experiences for Legacy Multi-Page ApplicationsI Built an AI Orchestrator and Ran It Overnight - Heres What Happened
HAMY LABS |

What are Branded Types? (And When You Should Use Them) in TypeScript

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER