DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Narrowing TypeScript Unions without the `in` operator

129 · Guilherme Simoes · Oct. 19, 2025, 12:12 a.m.
typescript software development programming techniques Union Types
Summary
This blog post discusses a technique for narrowing TypeScript union types without using the `in` operator, aimed at improving type checking and usability in TypeScript programming.
Read full post on guilhermesimoes.github.io →
MORE POSTS LIKE THIS
Parse, don't validate — In a Language That Doesn't Want You To
llimllib's notes · Jun 30, 2026
typescript Functional programming
Crumb - a small self-improving agent harness in under 200 lines of hand-written TypeScript. Bun runtime, no external libraries.
Zohaib · May 27, 2026
agent typescript
Experiment: making TypeScript immutable-by-default
Evan Hahn · Nov 18, 2025
typescript software development
Forcing Error Handling in TypeScript: A Result Type Implementation
Harsh Rohila · Aug 24, 2025
typescript error handling
How to Build RAG AI Agents with TypeScript
freeCodeCamp.org · Apr 16, 2025
RAG AI agents
Demo: running TypeScript directly in Node.js
Axel Rauschmayer · Feb 20, 2025
Javascript typescript
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google