Class ZodLazy<T>

Type Parameters

Hierarchy (view full)

Constructors

Properties

_def: ZodLazyDef<T>
_input: input<T>
_output: output<T>
_type: output<T>
spa: ((data, params?) => Promise<SafeParseReturnType<input<T>, output<T>>>)

Alias of safeParseAsync

Type declaration

create: (<T_1>(getter, params?) => ZodLazy<T_1>)

Type declaration

Accessors

  • get description(): undefined | string
  • Returns undefined | string

  • get schema(): T
  • Returns T

Methods

  • Parameters

    Returns string

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

Generated using TypeDoc