Class ZodReadonly<T>

Type Parameters

Hierarchy (view full)

Constructors

Properties

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

Alias of safeParseAsync

Type declaration

create: (<T_1>(type, params?) => ZodReadonly<T_1>)

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 MakeReadonly<T["_output"]>

  • Parameters

    Returns Promise<MakeReadonly<T["_output"]>>

Generated using TypeDoc