Slides / VideoBeginner

Union Types in TypeScript

Union types let a value hold one of several allowed types, written with the pipe symbol.

Slide 1
1 / 6