import { type InferFallbacks } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/methods/getFallbacks/types.ts";
Infer fallbacks 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>