Skip to content

InferInput

InferInput<T> = T extends object ? S extends ZodType ? z.input<S> : never : never

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

Extracts the input type of a command or query class generated from a Zod schema.

T