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

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

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface DateSchema
implements BaseSchema<Date, Date, DateIssue>
import { type DateSchema } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/schemas/date/index.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.