Type Parameters

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

Hierarchy (View Summary)

Constructors

Properties

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

Alias of safeParseAsync

Accessors

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

Methods

  • Parameters

    • description: string

    Returns this

  • Returns T

OSZAR »