type Primitive = string | number | boolean | bigint | symbol | null | undefined; type Builtin = Primitive | Function | Date | Error | RegExp; /** * Utility type that makes partial all nested properties */ export type RecursivePartial = T extends Builtin ? T : T extends Map ? Map, RecursivePartial> : T extends Set ? Set> : T extends ReadonlyArray ? ReadonlyArray> : T extends object ? { [P in keyof T]?: RecursivePartial; } : T; export {}; //# sourceMappingURL=recursivePartial.d.ts.map