UNPKG

zod

Version:

TypeScript-first schema declaration and validation library with static type inference

8 lines (7 loc) • 576 B
import * as core from "../core/index.js"; import { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime } from "./schemas.js"; export { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime } from "./schemas.js"; export declare function datetime(params?: string | core.$ZodISODateTimeParams): ZodISODateTime; export declare function date(params?: string | core.$ZodISODateParams): ZodISODate; export declare function time(params?: string | core.$ZodISOTimeParams): ZodISOTime; export declare function duration(params?: string | core.$ZodISODurationParams): ZodISODuration;