Skip to main content
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://deno.land/x/zod@v3.17.3/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>