Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/nosdump/deps.ts>ZodError#flatten

A command line tool which dumps events stored in Nostr relays
Go to Latest
method ZodError.prototype.flatten
Re-export
import { ZodError } from "https://deno.land/x/nosdump@0.4.4/deps.ts";

Returns

typeToFlattenedError<T>

Parameters

optional
mapper: (issue: ZodIssue) => U

Returns

typeToFlattenedError<T, U>