diff options
Diffstat (limited to 'tools/node_modules/eslint/node_modules/ajv/lib/ajv.d.ts')
-rw-r--r-- | tools/node_modules/eslint/node_modules/ajv/lib/ajv.d.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/ajv.d.ts b/tools/node_modules/eslint/node_modules/ajv/lib/ajv.d.ts index 341b0cff8f..763a09be65 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/ajv.d.ts +++ b/tools/node_modules/eslint/node_modules/ajv/lib/ajv.d.ts @@ -104,7 +104,7 @@ declare namespace ajv { * @return {string} human readable string with all errors descriptions */ errorsText(errors?: Array<ErrorObject> | null, options?: ErrorsTextOptions): string; - errors?: Array<ErrorObject>; + errors?: Array<ErrorObject> | null; } interface CustomLogger { @@ -163,7 +163,9 @@ declare namespace ajv { sourceCode?: boolean; processCode?: (code: string) => string; cache?: object; - logger?: CustomLogger | false + logger?: CustomLogger | false; + nullable?: boolean; + serialize?: ((schema: object | boolean) => any) | false; } type FormatValidator = string | RegExp | ((data: string) => boolean | PromiseLike<any>); |