Added 'auto' into schemaId type definition #668

master
Dmitriy 2018-01-29 15:22:57 +03:00 committed by GitHub
parent 5a1c6802e6
commit 74bb715725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
lib/ajv.d.ts vendored
View File

@ -139,7 +139,7 @@ declare namespace ajv {
formats?: object;
unknownFormats?: true | string[] | 'ignore';
schemas?: Array<object> | object;
schemaId?: '$id' | 'id';
schemaId?: '$id' | 'id' | 'auto';
missingRefs?: true | 'ignore' | 'fail';
extendRefs?: true | 'ignore' | 'fail';
loadSchema?: (uri: string, cb?: (err: Error, schema: object) => void) => Thenable<object | boolean>;