Skip to main content
Module

x/oridune_validator/mod.ts>IObjectValidatorOptions

A powerful typescript compatible/zod alternative schema validator.
Latest
interface IObjectValidatorOptions
import { type IObjectValidatorOptions } from "https://deno.land/x/oridune_validator@v0.2.49/mod.ts";

Properties

optional
cast: boolean
optional
allowUnexpectedProps: string[] | boolean
optional
messages: Partial<Record<"typeError" | "unexpectedProperty", TErrorMessage>>