TypeScript Fundamentals: Learn TypeScript from Scratch
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

Union Types in TypeScript

In this lesson, we learn about union types in TypeScript.

Union types grant us the ability to allow variables, function parameters and so on to be multiple types.