export type RequiredFields = T & { [P in K]-?: NonNullable; }; export type DeepPartial = T extends object ? { [P in keyof T]?: DeepPartial; } : T;