Skip to content

Commit 1e58834

Browse files
logonvMarsup
authored andcommitted
correct type definition
1 parent 48f6f54 commit 1e58834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ declare namespace Joi {
13381338

13391339
interface State {
13401340
key?: string;
1341-
path?: string;
1341+
path?: (string | number)[];
13421342
parent?: any;
13431343
reference?: any;
13441344
ancestors?: any;

0 commit comments

Comments
 (0)