Skip to main content
Module

x/valibot/src/schemas/date/date.ts>DateSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface DateSchema
implements BaseSchema<Date, Date, DateIssue>
import { type DateSchema } from "https://deno.land/x/valibot@v0.41.0/src/schemas/date/date.ts";

Date schema type.

Type Parameters

TMessage extends ErrorMessage<DateIssue> | undefined

Properties

readonly
type: "date"

The schema type.

readonly
reference: date

The schema reference.

readonly
expects: "Date"

The expected property.

readonly
message: TMessage

The error message.