@tempots/dom > ObjectToUnion
Converts an object to a union of its keys.
Signature:
export type ObjectToUnion<T> = { [K in keyof T]: { [P in K]: T[K]; }; }[keyof T];