You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
492 B
11 lines
492 B
3 years ago
|
import type { Plugin, CodeKeywordDefinition, ErrorObject } from "ajv";
|
||
|
declare type Kwd = "formatMaximum" | "formatMinimum" | "formatExclusiveMaximum" | "formatExclusiveMinimum";
|
||
|
declare type Comparison = "<=" | ">=" | "<" | ">";
|
||
|
export declare type LimitFormatError = ErrorObject<Kwd, {
|
||
|
limit: string;
|
||
|
comparison: Comparison;
|
||
|
}>;
|
||
|
export declare const formatLimitDefinition: CodeKeywordDefinition;
|
||
|
declare const formatLimitPlugin: Plugin<undefined>;
|
||
|
export default formatLimitPlugin;
|