import { type InferFallbacks } from "https://deno.land/x/valibot@v0.35.0/src/index.ts";
Fallback values inference type.
Type Parameters
TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
definition: TSchema extends ? -readonly [TKey in keyof TEntries]: InferFallbacks<TEntries[TKey]> : TSchema extends ? -readonly [TKey in keyof TEntries]: InferFallbacks<TEntries[TKey]> : TSchema extends ? -readonly [TKey in keyof TItems]: InferFallbacks<TItems[TKey]> : TSchema extends ? -readonly [TKey in keyof TItems]: InferFallbacks<TItems[TKey]> : Awaited<InferFallback<TSchema>>
| ObjectWithRestSchema<infer TEntries, BaseSchema<unknown, unknown, BaseIssue<unknown>>, ErrorMessage<ObjectWithRestIssue> | undefined>
| ObjectWithRestSchemaAsync<infer TEntries, BaseSchema<unknown, unknown, BaseIssue<unknown>>, ErrorMessage<ObjectWithRestIssue> | undefined>
| TupleWithRestSchema<infer TItems, BaseSchema<unknown, unknown, BaseIssue<unknown>>, ErrorMessage<TupleWithRestIssue> | undefined>
| TupleWithRestSchemaAsync<infer TItems, BaseSchema<unknown, unknown, BaseIssue<unknown>>, ErrorMessage<TupleWithRestIssue> | undefined>