export type OmitEmptyRecord = { [K in keyof T as T[K] extends Record ? never : K]: T[K] };