Type Parameters

  • T extends ZodTypeAny
  • B extends string | number | symbol

Hierarchy (view full)

Constructors

Properties

_input: T["_input"]
_output: T["_output"] & BRAND<B>
_type: T["_output"] & BRAND<B>
spa: ((data, params?) => Promise<SafeParseReturnType<T["_input"], T["_output"] & BRAND<B>>>)

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 T["_output"] & BRAND<B>

  • Parameters

    Returns Promise<T["_output"] & BRAND<B>>

  • Returns T

Generated using TypeDoc