Skip to content
Web Dev Simplified
×1.0YouTube long-form

Stop Writing Your ID Types Like This

WDWeb Dev Simplified@WebDevSimplified · 1.8M subscribers
Views
45.7K
45,663
Outlier
×1.0
Median 47.5K
Length
15:49
Published
Dec 9, 2025
Tuesday
Comments
137
1.7K likes

Script

No transcript

Scout reads the transcripts of each creator's 12 latest long-form videos. This one isn't among them yet.

Description

Branded types are a niche TypeScript feature that don’t make much sense in small projects, but as soon as your project grows in size or complexity they are a must have. In this video I explain everything you need to know about branded types as well as how to integrate them with Drizzle and Zod.

📚 Materials/References:

Data Access Layer Video:    • How To Handle Data Access Like a Senior Dev

🌎 Find Me Here:

My Blog: https://blog.webdevsimplified.com

My Courses: https://courses.webdevsimplified.com

Patreon:   / webdevsimplified

Twitter:   / devsimplified

Discord:   / discord

GitHub: https://github.com/WebDevSimplified

CodePen: https://codepen.io/WebDevSimplified

⏱️ Timestamps:

00:00 - Introduction

00:29 - Problem Branded Types Solves

02:50 - Creating Basic Branded Type

08:50 - Advanced Branded Types

10:46 - Zod Integration

12:48 - Other Branded Type Integrations

#TypeScript #WDS #BrandedTypes

More from Web Dev Simplified

Search Scout

Search creators, videos and pages, then press Enter to open one.