Interface ZodLazyDef<T>

interface ZodLazyDef<T> {
    description?: string;
    errorMap?: ZodErrorMap;
    getter: (() => T);
    typeName: ZodLazy;
}

Type Parameters

Hierarchy (view full)

Properties

description?: string
errorMap?: ZodErrorMap
getter: (() => T)

Type declaration

    • (): T
    • Returns T

typeName: ZodLazy

Generated using TypeDoc