Class ZodRecord<Key, Value>

Type Parameters

Hierarchy (view full)

Constructors

Properties

_input: RecordType<Key["_input"], Value["_input"]>
_output: RecordType<Key["_output"], Value["_output"]>
_type: RecordType<Key["_output"], Value["_output"]>
spa: ((data, params?) => Promise<SafeParseReturnType<RecordType<Key["_input"], Value["_input"]>, RecordType<Key["_output"], Value["_output"]>>>)

Alias of safeParseAsync

Type declaration

Accessors

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

  • get element(): Value
  • Returns Value

  • get keySchema(): Key
  • Returns Key

  • get valueSchema(): Value
  • Returns Value

Methods

  • Parameters

    Returns string

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

Generated using TypeDoc