Skip to content

Commit

Permalink
#2963 make return value of validate match type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanMeijer authored and Marsup committed Aug 27, 2023
1 parent acd0ae4 commit 1792a3f
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 @@ -708,7 +708,7 @@ declare namespace Joi {
} | {
error: ValidationError;
warning?: ValidationError;
value: undefined;
value: any;
}

interface CreateErrorOptions {
Expand Down

0 comments on commit 1792a3f

Please sign in to comment.