limit.d.ts 492 B

12345678910
  1. import type { Plugin, CodeKeywordDefinition, ErrorObject } from "ajv";
  2. declare type Kwd = "formatMaximum" | "formatMinimum" | "formatExclusiveMaximum" | "formatExclusiveMinimum";
  3. declare type Comparison = "<=" | ">=" | "<" | ">";
  4. export declare type LimitFormatError = ErrorObject<Kwd, {
  5. limit: string;
  6. comparison: Comparison;
  7. }>;
  8. export declare const formatLimitDefinition: CodeKeywordDefinition;
  9. declare const formatLimitPlugin: Plugin<undefined>;
  10. export default formatLimitPlugin;