x/zod/mod.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
class ZodLazy
extends ZodType<output<T>, ZodLazyDef<T>, input<T>>
import { ZodLazy } from "https://deno.land/x/zod@v3.17.3/mod.ts?s=ZodLazy";

Type Parameters

T extends ZodTypeAny[src]

Properties

readonly
schema: T
[src]

Methods

_parse(input: ParseInput): ParseReturnType<this["_output"]>[src]

Static Properties

create: <T extends ZodTypeAny>(getter: () => T, params?: RawCreateParams) => ZodLazy<T>[src]