Deprecated
Use objectAsync
without rest
argument instead.
import { stripAsync } from "https://deno.land/x/valibot@v0.28.1/src/methods/strip/index.ts";
Creates an object schema that strips unknown keys.
Type Parameters
TSchema extends ObjectSchemaAsync<ObjectEntriesAsync, undefined>
Parameters
schema: TSchema
A object schema.