---
title: "Discussion on \"TypeScript's Discriminated Unions and How I Began to Worry Less\" | Hashnode"
description: "Discussion on \"TypeScript's Discriminated Unions and How I Began to Worry Less\". A Journey from Type Chaos to Type Safety"
url: "https://hashnode.com/posts/typescripts-discriminated-unions-and-how-i-began-to-worry-less/650466b4cf4db52fbdaa41bf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TypeScript's Discriminated Unions and How I Began to Worry Less](https://blog.abhishekvash.xyz/typescripts-discriminated-unions-and-how-i-began-to-worry-less?utm_source=hashnode&utm_medium=feed)

A Journey from Type Chaos to Type Safety

Sep 15, 2023 · 3 min read · blog.abhishekvash.xyz  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#discriminated-union-types](https://hashnode.com/tag/discriminated-union-types)
-   [#typesafety](https://hashnode.com/tag/typesafety)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#best-practices](https://hashnode.com/tag/best-practices)

## Written by

[Abhishek S](https://hashnode.com/@abhishekvash)

@abhishekvash · Bengaluru, India

  
[View profile](https://hashnode.com/@abhishekvash)

UI Engineer

Lead UI Engineer at ThinkLink Inc. Product development is a craft and I'm hoping to become the best artisan.

## Responses 1

Markdown supported · ⌘↵ to post

[Jannik Wempe](https://hashnode.com/@JannikWempe)

[Sep 16, 2023](https://hashnode.com/posts/typescripts-discriminated-unions-and-how-i-began-to-worry-less/650466b4cf4db52fbdaa41bf/comment/6505bbfbdbce26f1bafa0884)

Nice post. Discriminated unions are a very handy tool to have in your TypeScript toolbelt 👍🏼

[Abhishek S](https://hashnode.com/@abhishekvash)

[Sep 17, 2023](https://hashnode.com/posts/typescripts-discriminated-unions-and-how-i-began-to-worry-less/650466b4cf4db52fbdaa41bf/comment/6505bbfbdbce26f1bafa0884#reply-650675115b0b2cfbc555f585)

Thanks Jannik!
