File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 22type ValidationPath = {
33 pointer : string ;
44 node : SchemaNode ;
5+ meta ?: Record < string , any > ;
56} [ ] ;
67type JsonSchemaReducerParams = {
78 /** data of current node */
@@ -30,7 +31,7 @@ interface JsonSchemaResolver {
3031 order ?: number ;
3132 ( options : JsonSchemaResolverParams ) : SchemaNode | JsonError | undefined ;
3233}
33- type ValidationResult = JsonError | Promise < JsonError > ;
34+ type ValidationResult = JsonError | Promise < JsonError | undefined > ;
3435type JsonSchemaValidatorParams = {
3536 pointer ?: string ;
3637 data : unknown ;
Original file line number Diff line number Diff line change 22type ValidationPath = {
33 pointer : string ;
44 node : SchemaNode ;
5+ meta ?: Record < string , any > ;
56} [ ] ;
67type JsonSchemaReducerParams = {
78 /** data of current node */
@@ -30,7 +31,7 @@ interface JsonSchemaResolver {
3031 order ?: number ;
3132 ( options : JsonSchemaResolverParams ) : SchemaNode | JsonError | undefined ;
3233}
33- type ValidationResult = JsonError | Promise < JsonError > ;
34+ type ValidationResult = JsonError | Promise < JsonError | undefined > ;
3435type JsonSchemaValidatorParams = {
3536 pointer ?: string ;
3637 data : unknown ;
You can’t perform that action at this time.
0 commit comments