11 lines
386 B
TypeScript
Executable file
11 lines
386 B
TypeScript
Executable file
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
|
|
type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum";
|
|
type Comparison = "<=" | ">=" | "<" | ">";
|
|
export type LimitNumberError = ErrorObject<Kwd, {
|
|
limit: number;
|
|
comparison: Comparison;
|
|
}, number | {
|
|
$data: string;
|
|
}>;
|
|
declare const def: CodeKeywordDefinition;
|
|
export default def;
|