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

x/valibot/src/types/pipe.ts>BaseValidationAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface BaseValidationAsync
import { type BaseValidationAsync } from "https://deno.land/x/valibot@v0.30.0/src/types/pipe.ts";

Base validation async type.

Type Parameters

optional
TInput = any

Properties

type: string

The validation type.

expects: string | null

The expected property.

message: ErrorMessage | undefined

The error message.

async: true

Whether it's async.

requirement: unknown

The validation requirement.

Methods

_parse(input: TInput): Promise<PipeActionResult<TInput>>

Parses unknown input based on its requirement.