Skip to content

Commit

Permalink
Merge pull request #3018 from logonv/fix-issue-2730
Browse files Browse the repository at this point in the history
Fix issue 2730 - Wrong State['path'] type
  • Loading branch information
Marsup committed Feb 21, 2024
2 parents 2712034 + 03c6705 commit e7e9c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Expand Up @@ -1352,7 +1352,7 @@ declare namespace Joi {

interface State {
key?: string;
path?: string;
path?: (string | number)[];
parent?: any;
reference?: any;
ancestors?: any;
Expand Down

0 comments on commit e7e9c5d

Please sign in to comment.