export type Entries = { [K in keyof T]: [K, T[K]]; }[keyof T][]; export type ValueOf = T[keyof T];