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

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

The modular and type safe schema library for validating structural data 🤖
Latest
interface NeverSchema
implements BaseSchema<never, never, NeverIssue>
import { type NeverSchema } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/schemas/never/never.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.