Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/src/methods/passthrough/passthrough.ts>passthrough

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function passthrough
Deprecated
Deprecated

Use object with rest argument instead.

import { passthrough } from "https://deno.land/x/valibot@v0.22.0/src/methods/passthrough/passthrough.ts";

Creates an object schema that passes unknown keys.

Type Parameters

TSchema extends ObjectSchema<ObjectEntries, undefined>

Parameters

schema: TSchema

A object schema.

Returns

A object schema.