Open shaKY-iota opened 2 years ago
// your answers type ObjectEntries<T extends object> = Required<T> extends infer U ? { [P in keyof U]: [P, U[P]] }[keyof U] : never;