docs: update typings for "modifying" and "valid" custom keywords, #392, #393

master
Evgeny Poberezkin 2017-01-20 23:25:45 +00:00
parent dc265ddf4a
commit 7148ae3607
1 changed files with 2 additions and 0 deletions

2
lib/ajv.d.ts vendored
View File

@ -158,6 +158,8 @@ declare namespace ajv {
errors?: boolean | string;
// schema: false makes validate not to expect schema (ValidateFunction)
schema?: boolean;
modifying?: boolean;
valid?: boolean;
// one and only one of the following properties should be present
validate?: ValidateFunction | SchemaValidateFunction;
compile?: (schema: Object, parentSchema: Object) => ValidateFunction;