---
title: "Union type"
description: "A union type is a type formed from two or more other types, representing values that may be any one of those types."
dependencies: []
link: "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#defining-a-union-type"
---
