File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export type ExtendedSchema = {
1010 link ?: string | undefined ;
1111 undefinedAsNull ?: boolean | undefined ;
1212} ;
13+ export type Extend = ExtendedSchema ;
1314export type Schema = ( JSONSchema4 | JSONSchema6 | JSONSchema7 ) & ExtendedSchema ;
1415export type SchemaUtilErrorObject = ErrorObject & {
1516 children ?: Array < ErrorObject > ;
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ const getAjv = memoize(() => {
5959 * @property {boolean= } undefinedAsNull
6060 */
6161
62+ // TODO remove me in the next major release
63+ /** @typedef {ExtendedSchema } Extend */
64+
6265/** @typedef {(JSONSchema4 | JSONSchema6 | JSONSchema7) & ExtendedSchema } Schema */
6366
6467/** @typedef {ErrorObject & { children?: Array<ErrorObject> } } SchemaUtilErrorObject */
You can’t perform that action at this time.
0 commit comments