import { ICustomSchema , TCustomValidator } from "../types" ; import { SchemaType } from "./SchemaType" ; export function custom ( customValidator , description ? ) { return { customValidator , description , type : SchemaType . Custom } ; }