Skip to content

InferValues

InferValues<TSchema, $> = type.infer<TSchema, $>

Defined in: src/createParser.ts:68

Map a schema def to the shape of its runtime values object, resolved in the parser’s inferred scope.

TSchema

$

$ = { }

InferValues<{ x: "number"; values: { password: "string" } }>
// { x: number; values: { password: string } }