Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.ZodLazy

import { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { ZodLazy } = z;
class ZodLazy<T extends ZodTypeAny> extends ZodType<output<T>, ZodLazyDef<T>, input<T>> {
get schema(): T;
 
_parse(input: ParseInput): ParseReturnType<this["_output"]>;
 
static create: <Inner extends ZodTypeAny>(getter: () => Inner, params?: RawCreateParams) => ZodLazy<Inner>;
}

§Type Parameters

§Extends

§
ZodType<output<T>, ZodLazyDef<T>, input<T>>
[src]

§Properties

§
schema: T readonly
[src]

§Methods

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

§Static Properties

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