import { strictTupleAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/index.ts";
Creates a strict tuple schema.
Type Parameters
TItems extends TupleItemsAsync
Parameters
items: TItems
The items schema.
Returns
StrictTupleSchemaAsync<TItems, undefined>
A strict tuple schema.
Creates a strict tuple schema.
Type Parameters
TItems extends TupleItemsAsync
TMessage extends ErrorMessage<StrictTupleIssue> | undefined
Returns
A strict tuple schema.