Skip to content
From 0.5.0 the packages continue as @cqrs-ddd, documented at aristoteliss.github.io/ddd-cqrs; NestJS applications add @cqrs-ddd/nestjs. This site documents the 0.4.x line.

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