Class ZodType<Output, Def, Input>Abstract

Type Parameters

Hierarchy (view full)

Constructors

Properties

_def: Def
_input: Input
_output: Output
_type: Output
spa: ((data, params?) => Promise<SafeParseReturnType<Input, Output>>)

Alias of safeParseAsync

Type declaration

Accessors

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

Methods

  • Parameters

    Returns string

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns Output

  • Parameters

    Returns Promise<Output>

Generated using TypeDoc