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