import { type BaseSchemaAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/types/index.ts";
Base schema async type.
Properties
readonly
reference: (...args: any[]) => BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>The schema reference.
readonly
~validate: (dataset: UnknownDataset, config?: Config<BaseIssue<unknown>>) => Promise<OutputDataset<TOutput, TIssue>>Parses unknown input values.