Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/types/index.ts>InferInput

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
type alias InferInput
Re-export
import { type InferInput } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/types/index.ts";

Infer input type.

Type Parameters

TItem extends
| BaseSchema<unknown, unknown, BaseIssue<unknown>>
| BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
| BaseValidation<any, unknown, BaseIssue<unknown>>
| BaseValidationAsync<any, unknown, BaseIssue<unknown>>
| BaseTransformation<any, unknown, BaseIssue<unknown>>
| BaseTransformationAsync<any, unknown, BaseIssue<unknown>>
| BaseMetadata<any>
definition: NonNullable<TItem["~types"]>["input"]