method z.ZodError.prototype.flattenRe-exportimport { z } from "https://deno.land/x/deno_books@v1.2.0/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>