UNPKG

valia

Version:

A runtime data validator in TypeScript with advanced type inference, built-in validation functions, and seamless integration for server and client environments.

5 lines (4 loc) 273 B
import type { Rejection } from "./types"; import type { MountedCriteria } from "../formats"; import type { SchemaInstance } from "../types"; export declare function checker(managers: SchemaInstance['managers'], criteria: MountedCriteria, value: unknown): Rejection | null;