Convert primitive literal types to their boxed object counterparts.
Primitive literal type(s) to convert
Useful when interacting with APIs or type constraints that expect boxed primitives instead of their primitive forms.
type Boxed = Box< 'hello' | 42 | true >;// String | Number | Boolean Copy
type Boxed = Box< 'hello' | 42 | true >;// String | Number | Boolean
Convert primitive literal types to their boxed object counterparts.