From b7de42b25427142c4ccc3e73ae0719774ffe6dd2 Mon Sep 17 00:00:00 2001 From: Gustavo Henke Date: Thu, 21 Mar 2024 18:07:23 -0300 Subject: [PATCH] Fix syntax error in example comment Fixes #1286 --- src/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base.ts b/src/base.ts index 2b012798..716e8766 100644 --- a/src/base.ts +++ b/src/base.ts @@ -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}`); * } * */