Add "empty" to useDefaults Option type definition (#1020)

master
vanessa 2019-07-05 22:22:00 +01:00 committed by Evgeny Poberezkin
parent ab841b462e
commit c3093bbd6a
1 changed files with 1 additions and 1 deletions

2
lib/ajv.d.ts vendored
View File

@ -178,7 +178,7 @@ declare namespace ajv {
extendRefs?: true | 'ignore' | 'fail';
loadSchema?: (uri: string, cb?: (err: Error, schema: object) => void) => PromiseLike<object | boolean>;
removeAdditional?: boolean | 'all' | 'failing';
useDefaults?: boolean | 'shared';
useDefaults?: boolean | 'empty' | 'shared';
coerceTypes?: boolean | 'array';
strictDefaults?: boolean | 'log';
strictKeywords?: boolean | 'log';