UNPKG

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