import { partialAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/methods/index.ts";
Creates a modified copy of an object schema that marks all entries as optional.
Parameters
schema: TSchema
The schema to modify.
Returns
SchemaWithPartialAsync<TSchema, undefined>
An object schema.
Creates a modified copy of an object schema that marks the selected entries as optional.
Type Parameters
TKeys extends ObjectKeys<TSchema>
Returns
An object schema.