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

x/valibot/src/schemas/index.ts>NeverSchema

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface NeverSchema
implements BaseSchema<never, never, NeverIssue>
import { type NeverSchema } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/schemas/index.ts";

Never schema type.

Type Parameters

TMessage extends ErrorMessage<NeverIssue> | undefined

Properties

readonly
type: "never"

The schema type.

readonly
reference: never

The schema reference.

readonly
expects: "never"

The expected property.

readonly
message: TMessage

The error message.