mirror of https://github.com/jkjoy/sunpeiwen.git
12 lines
421 B
TypeScript
12 lines
421 B
TypeScript
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
|
|
declare type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum";
|
|
declare type Comparison = "<=" | ">=" | "<" | ">";
|
|
export declare type LimitNumberError = ErrorObject<Kwd, {
|
|
limit: number;
|
|
comparison: Comparison;
|
|
}, number | {
|
|
$data: string;
|
|
}>;
|
|
declare const def: CodeKeywordDefinition;
|
|
export default def;
|