method z.ZodObject.prototype.mergeimport { z } from "https://dotland.deno.dev/x/zod@v3.20/mod.ts"; const { ZodObject } = z; merge<Incoming extends AnyZodObject>(merging: Incoming): ZodObject<extendShape<T, ReturnType<Incoming["_def"]["shape"]>>, Incoming["_def"]["unknownKeys"], Incoming["_def"]["catchall"]>Prior to zod@1.0.12 there was a bug in the inferred type of merged objects. Please upgrade if you are experiencing issues. Type ParametersIncoming extends AnyZodObjectParametersmerging: IncomingReturnsZodObject<extendShape<T, ReturnType<Incoming["_def"]["shape"]>>, Incoming["_def"]["unknownKeys"], Incoming["_def"]["catchall"]>