import { type SchemaWithFallbackAsync } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/methods/fallback/fallbackAsync.ts";
Schema with fallback async type.
Type Parameters
TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
TFallback extends FallbackAsync<TSchema>
definition: Omit<TSchema, "async" | "~standard" | "~run"> & { readonly fallback: TFallback; readonly async: true; readonly ~standard: StandardSchemaProps<InferInput<TSchema>, InferOutput<TSchema>>; readonly ~run: (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<InferOutput<TSchema>, InferIssue<TSchema>>>; }