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

x/valibot/src/index.ts>NeverSchema

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