From 5c77e0d4f9373151bcf0cd558c95986b6e4800d7 Mon Sep 17 00:00:00 2001 From: todoList <39440537+yjhtry@users.noreply.github.com> Date: Fri, 15 Mar 2024 21:16:35 +0800 Subject: [PATCH] fix(readme): some typos and update CustomizingErrors doc (#2163) * fix(readme): some typos and update CustomizingErrors doc * fix(readme): update CustomizingErrors doc * Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58a41110..645a8dd4 100644 --- a/README.md +++ b/README.md @@ -259,7 +259,7 @@ Error messages can also be constructed on the fly to customize how the schema fa ```ts const order = object({ - no: number().required(). + no: number().required(), sku: string().test({ name: 'is-sku', skipAbsent: true,