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: 5f2cc30449
This commit is contained in:
James Dowell
2016-11-03 10:22:04 +00:00
committed by GitHub
parent baadc0b130
commit 3779c195ed

2
ajv/ajv.d.ts vendored
View File

@@ -82,7 +82,7 @@ declare module "ajv" {
passContext?: boolean;
loopRequired?: number;
ownProperties?: boolean;
multipleOfPrecision?: boolean;
multipleOfPrecision?: boolean | number;
errorDataPath?: string,
messages?: boolean;
beautify?: boolean;