Union Type (TypeScript)

A union type lets a value be one of several types, written with a vertical bar between them, like `string | number`.