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