method z.ZodError.prototype.flattenRe-exportimport { z } from "https://deno.land/x/pup@1.0.0-rc.9/deps.ts"; const { ZodError } = z; flatten(): typeToFlattenedError<T>flatten<U>(mapper?: (issue: ZodIssue) => U): typeToFlattenedError<T, U>ReturnstypeToFlattenedError<T>Type ParametersUParametersoptionalmapper: (issue: ZodIssue) => UReturnstypeToFlattenedError<T, U>