Extracts the union of all value types from an object type T.
T
The object type.
type Values = ValueOf<{ a: string; b: number }>; // string | number Copy
type Values = ValueOf<{ a: string; b: number }>; // string | number
Extracts the union of all value types from an object type
T.