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