Merge pull request #12909 from domoritz/patch-3

Add missing option `extendRefs`
This commit is contained in:
Paul van Brenk
2016-11-29 14:39:55 -08:00
committed by GitHub
+8 -6
View File
@@ -66,18 +66,20 @@ declare namespace Ajv {
unicode?: boolean;
format?: string;
formats?: any;
unknownFormats?: true | string[] | "ignore";
schemas?: any;
missingRefs?: boolean;
missingRefs?: true | "ignore" | "fail";
extendRefs?: true | "ignore" | "fail";
loadSchema?(uri: string, callback: (error: Error, body: any) => void): void;
removeAdditional?: boolean;
useDefaults?: boolean;
coerceTypes?: boolean;
removeAdditional?: boolean | "all" | "failing";
useDefaults?: boolean | "shared";
coerceTypes?: boolean | "array";
async?: any;
transpile?: string;
meta?: boolean;
validateSchema?: boolean;
validateSchema?: boolean | "log";
addUsedSchema?: boolean;
inlineRefs?: boolean;
inlineRefs?: boolean | number;
passContext?: boolean;
loopRequired?: number;
ownProperties?: boolean;