Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/types/index.ts>BaseMetadata

The modular and type safe schema library for validating structural data 🤖
Latest
interface BaseMetadata
Re-export
import { type BaseMetadata } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/types/index.ts";

Base metadata type.

Properties

readonly
kind: "metadata"

The object kind.

readonly
type: string

The metadata type.

readonly
reference: (...args: any[]) => BaseMetadata<any>

The metadata reference.

readonly
optional
~types: { readonly input: TInput; readonly output: TInput; readonly issue: never; } | undefined

The input, output and issue type.