Skip to content

Commit

Permalink
fix a typo in bool type description
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-kiliushin authored Oct 13, 2022
1 parent a34d322 commit fb344a7
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 @@ -2053,7 +2053,7 @@ declare namespace Joi {
array<TSchema = any[]>(): ArraySchema<TSchema>;

/**
* 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().
* 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().
*/
bool<TSchema = boolean>(): BooleanSchema<TSchema>;

Expand Down

0 comments on commit fb344a7

Please sign in to comment.