---
title: "Discussion on \"[TypeScript] Union & Intersection Type\" | Hashnode"
description: "Discussion on \"[TypeScript] Union & Intersection Type\". We will be talking about the union and intersection type in TypeScript. I will be talking about the downside of using a union type and introduce generics"
url: "https://hashnode.com/posts/typescript-union-intersection-type/647e031d2ee566804a803194"
---

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

Discussion

# [\[TypeScript\] Union & Intersection Type](https://jaylog.hashnode.dev/typescript-union-intersection-type?utm_source=hashnode&utm_medium=feed)

We will be talking about the union and intersection type in TypeScript. I will be talking about the downside of using a union type and introduce generics

Jun 5, 2023 · 4 min read · jaylog.hashnode.dev  
Updated Nov 25, 2024  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#typescript-generics](https://hashnode.com/tag/typescript-generics)
-   [#union-type](https://hashnode.com/tag/union-type)
-   [#intersection-types](https://hashnode.com/tag/intersection-types)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Lim Woojae](https://hashnode.com/@jaylog)

@jaylog · Sydney

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

Computer Science @UNSW

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
