NET-Web-API-w-Angular/my-app/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts

12 lines
386 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum";
type Comparison = "<=" | ">=" | "<" | ">";
export type LimitNumberError = ErrorObject<Kwd, {
limit: number;
comparison: Comparison;
}, number | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;