Type Parameters

Hierarchy-Diagram

UML class diagram of ZodPromise
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for a public property in the UML class diagram public property
icon for a public method in the UML class diagram public method
underlined static property/method
italic abstract property/method

Hierarchy (view full)

Constructors

Properties

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

Alias of safeParseAsync

Type declaration

create: (<T_1 extends ZodTypeAny>(schema: T_1, params?: RawCreateParams) => ZodPromise<T_1>)

Type declaration

Accessors

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

Methods

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Returns T