Skip to content

Commit

Permalink
Merge pull request #2964 from StephanMeijer/master
Browse files Browse the repository at this point in the history
#2963 make return value of validate match type definitions
  • Loading branch information
Marsup authored Aug 27, 2023
2 parents 19dbe8f + 5a5dfd5 commit 51d7ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ declare namespace Joi {
} | {
error: ValidationError;
warning?: ValidationError;
value: undefined;
value: any;
}

interface CreateErrorOptions {
Expand Down

0 comments on commit 51d7ab6

Please sign in to comment.