Restate Typescript SDK
    Preparing search index...
    • A Zod-based serde.

      Type Parameters

      • T extends $ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> | ZodTypeAny

      Parameters

      • zodType: T

        the zod type

      Returns Serde<T extends ZodTypeAny ? TypeOf<T<T>> : output<T>>

      a serde that will validate the data with the zod schema