Skip to content

Commit 5908238

Browse files
authored
Merge pull request #2863 from aleksandr-kiliushin/patch-1
fix a typo in bool type description
2 parents a34d322 + fb344a7 commit 5908238

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
@@ -2053,7 +2053,7 @@ declare namespace Joi {
20532053
array<TSchema = any[]>(): ArraySchema<TSchema>;
20542054

20552055
/**
2056-
* Generates a schema object that matches a boolean data type (as well as the strings 'true', 'false', 'yes', and 'no'). Can also be called via bool().
2056+
* Generates a schema object that matches a boolean data type (as well as the strings 'true', 'false', 'yes', and 'no'). Can also be called via boolean().
20572057
*/
20582058
bool<TSchema = boolean>(): BooleanSchema<TSchema>;
20592059

0 commit comments

Comments
 (0)