type ValueOf = T[keyof T] type KeyValueTupleToObject = { [K in T[0]]: Extract[1] } export type Translate> = KeyValueTupleToObject>