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

x/valibot/src/schemas/object/types.ts>ObjectInput

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias ObjectInput
import { type ObjectInput } from "https://deno.land/x/valibot@v0.28.1/src/schemas/object/types.ts";

Object input inference type.

Type Parameters

TRest extends BaseSchema | BaseSchemaAsync | undefined
definition: TRest extends undefined | NeverSchema | NeverSchemaAsync ? ResolveObject<WithQuestionMarks<TEntries, EntriesInput<TEntries>>> : TRest extends BaseSchema | BaseSchemaAsync ? ResolveObject<WithQuestionMarks<TEntries, EntriesInput<TEntries>>> & Record<string, Input<TRest>> : never