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