The parsed output of a Zod-compatible schema, including defaults and coercions. Schemas without an output type resolve to unknown.
unknown
The schema whose parsed output is inferred
const body = validateBody(Schema);const handler = (ctx: IRequestContext): void => { const value: ValidatedOutput<typeof Schema> = body.value(ctx); ctx.response.json(value);}; Copy
const body = validateBody(Schema);const handler = (ctx: IRequestContext): void => { const value: ValidatedOutput<typeof Schema> = body.value(ctx); ctx.response.json(value);};
0.10.0
The parsed output of a Zod-compatible schema, including defaults and coercions. Schemas without an output type resolve to
unknown.