Module

x/zod/external.ts>ZodLazy

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
class ZodLazy
extends ZodType<output<T>, ZodLazyDef<T>, input<T>>
import { ZodLazy } from "https://dotland.deno.dev/x/zod@v3.21.4/external.ts";

Type Parameters

T extends ZodTypeAny

Properties

readonly
schema: T

Methods

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

Static Properties

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