import { objectWithRestAsync } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/schemas/objectWithRest/objectWithRestAsync.ts";
Creates an object with rest schema.
Type Parameters
TEntries extends ObjectEntriesAsync
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
Returns
ObjectWithRestSchemaAsync<TEntries, TRest, undefined>
An object with rest schema.
Creates an object with rest schema.
Type Parameters
TEntries extends ObjectEntriesAsync
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
TMessage extends ErrorMessage<ObjectWithRestIssue> | undefined
Returns
An object with rest schema.