13 lines
437 B
Plaintext
13 lines
437 B
Plaintext
import type { CodeKeywordDefinition, ErrorObject } from "../../../types";
|
|
export type LimitKwd = "maximum" | "minimum";
|
|
export type ExclusiveLimitKwd = "exclusiveMaximum" | "exclusiveMinimum";
|
|
type Comparison = "<=" | ">=" | "<" | ">";
|
|
export type LimitNumberError = ErrorObject<LimitKwd, {
|
|
limit: number;
|
|
comparison: Comparison;
|
|
}, number | {
|
|
$data: string;
|
|
}>;
|
|
declare const def: CodeKeywordDefinition;
|
|
export default def;
|