Class ZodBranded<T, B>

Type Parameters

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

Hierarchy (view full)

Constructors

Properties

_input: T["_input"]
_output: T["_output"] & Zod.z.BRAND<B>
_type: T["_output"] & Zod.z.BRAND<B>
spa: ((data, params?) => Promise<SafeParseReturnType<T["_input"], T["_output"] & Zod.z.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

  • Returns T

Generated using TypeDoc