import { type DefaultValues } from "https://deno.land/x/valibot@v0.30.0/mod.ts";
Default values inference type.
Type Parameters
TSchema extends BaseSchema | BaseSchemaAsync
definition: TSchema extends ObjectSchema<infer TEntries extends ObjectEntries> ? [TKey in keyof TEntries]: DefaultValues<TEntries[TKey]> : TSchema extends ObjectSchemaAsync<infer TEntries extends ObjectEntriesAsync> ? [TKey in keyof TEntries]: DefaultValues<TEntries[TKey]> : TSchema extends TupleSchema<infer TItems> ? [TKey in keyof TItems]: DefaultValues<TItems[TKey]> : TSchema extends TupleSchemaAsync<infer TItems> ? [TKey in keyof TItems]: DefaultValues<TItems[TKey]> : DefaultValue<TSchema>