TypeScript provides the "union type" feature to define a property or variable that can hold values of multiple types. It is denoted by the "|" operator; for example, let value: string | number;.