Skip to content

InferOutput

InferOutput<T> = T extends object ? S extends ZodType ? z.output<S> : never : never

Defined in: packages/pipeline-zod/src/create-zod-request.ts:37

Extracts the output (parsed) type of a command or query class generated from a Zod schema.

T