export type WithRequired = T & { [P in K]-?: T[P]; }; export type Prettify = { [K in keyof T]: T[K]; } & {};