diff --git a/lib/types/index.ts b/lib/types/index.ts index e91f122b9..5fc9b6d2a 100644 --- a/lib/types/index.ts +++ b/lib/types/index.ts @@ -76,6 +76,7 @@ export type AnyValidateFunction = ValidateFunction | AsyncValidateFu export interface ErrorObject, S = unknown> { keyword: K dataPath: string + instancePath?: string schemaPath: string params: P // Added to validation errors of "propertyNames" keyword schema