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

x/zod/index.ts>ParseContext

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
class ParseContext
Re-export
import { ParseContext } from "https://deno.land/x/zod@v3.9.8/index.ts";

Constructors

new
ParseContext(def: ParseContextDef)

Properties

readonly
async
readonly
def: ParseContextDef
readonly
errorMap
readonly
issues
readonly
path

Methods

_addIssue(
data: any,
issueData: IssueData,
params?: { schemaErrorMap?: ZodErrorMap; },
): void
stepInto(component: ParsePathComponent): ParseContext