limitNumber.d.ts 386 B

1234567891011
  1. import type { CodeKeywordDefinition, ErrorObject } from "../../types";
  2. type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum";
  3. type Comparison = "<=" | ">=" | "<" | ">";
  4. export 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;