UNPKG

@httpc/kit

Version:

httpc toolbox for building function-based API with minimal code and end-to-end type safety

7 lines (6 loc) 298 B
import { ZodType } from "zod"; import { IValidator, ValidationResult } from "../types"; export declare class ZodValidator implements IValidator { canValidate(object: any, schema: any, options?: any): boolean; validate(object: any, schema: ZodType, options?: any): ValidationResult; }