import { errorMessagesForSchema } from "https://deno.land/x/domain_functions@v1.2.0/mod.ts";
type
<T extends z.ZodTypeAny>(errors: SchemaError[], schema: T) => NestedErrors<z.infer<schema>>
x/domain_functions/mod.ts>errorMessagesForSchema
import { errorMessagesForSchema } from "https://deno.land/x/domain_functions@v1.2.0/mod.ts";