From 3779c195edad61e684430f53273f2aaf665ab1fe Mon Sep 17 00:00:00 2001 From: James Dowell Date: Thu, 3 Nov 2016 10:22:04 +0000 Subject: [PATCH] Update AjvOptions - multipleOfPrecision property Updating the AjvOptions - multipleOfPrecision property to allow boolean or number. Precision is specified as a number while the value defaults to false (i.e. disabled) Link to PR which added the multipleOfPrecision option: https://github.com/epoberezkin/ajv/commit/5f2cc30449d81a7d10148567f3f1ed038b00718e --- ajv/ajv.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajv/ajv.d.ts b/ajv/ajv.d.ts index d8bfd56ef3..304fba2512 100644 --- a/ajv/ajv.d.ts +++ b/ajv/ajv.d.ts @@ -82,7 +82,7 @@ declare module "ajv" { passContext?: boolean; loopRequired?: number; ownProperties?: boolean; - multipleOfPrecision?: boolean; + multipleOfPrecision?: boolean | number; errorDataPath?: string, messages?: boolean; beautify?: boolean;