Files
pole-book/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.d.ts

13 lines
468 B
TypeScript

import type { CodeKeywordDefinition, ErrorObject } from "ajv/dist/core";
export declare type LimitKwd = "maximum" | "minimum";
export declare type ExclusiveLimitKwd = "exclusiveMaximum" | "exclusiveMinimum";
declare type Comparison = "<=" | ">=" | "<" | ">";
export declare type LimitNumberError = ErrorObject<LimitKwd, {
limit: number;
comparison: Comparison;
}, number | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;