import { type DefaultValues } from "https://deno.land/x/valibot@v0.24.0/src/methods/index.ts";
Default values 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>