We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1478499 commit 8e31ef3Copy full SHA for 8e31ef3
declarations/validate.d.ts
@@ -10,6 +10,7 @@ export type ExtendedSchema = {
10
link?: string | undefined;
11
undefinedAsNull?: boolean | undefined;
12
};
13
+export type Extend = ExtendedSchema;
14
export type Schema = (JSONSchema4 | JSONSchema6 | JSONSchema7) & ExtendedSchema;
15
export type SchemaUtilErrorObject = ErrorObject & {
16
children?: Array<ErrorObject>;
src/validate.js
@@ -59,6 +59,9 @@ const getAjv = memoize(() => {
59
* @property {boolean=} undefinedAsNull
60
*/
61
62
+// TODO remove me in the next major release
63
+/** @typedef {ExtendedSchema} Extend */
64
+
65
/** @typedef {(JSONSchema4 | JSONSchema6 | JSONSchema7) & ExtendedSchema} Schema */
66
67
/** @typedef {ErrorObject & { children?: Array<ErrorObject> }} SchemaUtilErrorObject */
0 commit comments