Skip to content

Commit

Permalink
Fix syntax error in example comment
Browse files Browse the repository at this point in the history
Fixes #1286
  • Loading branch information
gustavohenke committed Mar 21, 2024
1 parent bcf6a7c commit b7de42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base.ts
Expand Up @@ -146,7 +146,7 @@ export type GroupedAlternativeValidationError = {
* if (error.type === 'alternative') {
* console.log(`There are ${error.nestedErrors.length} errors under this alternative list`);
* } else if (error.type === 'field') {
* console.log(`There's an error with field ${error.path) in the request ${error.location}`);
* console.log(`There's an error with field ${error.path} in the request ${error.location}`);
* }
*
*/
Expand Down

0 comments on commit b7de42b

Please sign in to comment.