limitNumber.d.ts 410 B

1234567891011
  1. import type { CodeKeywordDefinition, ErrorObject } from "../../types";
  2. declare type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum";
  3. declare type Comparison = "<=" | ">=" | "<" | ">";
  4. export declare type LimitNumberError = ErrorObject<Kwd, {
  5. limit: number;
  6. comparison: Comparison;
  7. }, number | {
  8. $data: string;
  9. }>;
  10. declare const def: CodeKeywordDefinition;
  11. export default def;