From 265767483532ba9165afaf53201bc70198ac4cda Mon Sep 17 00:00:00 2001 From: Stephen Cresswell <229672+cressie176@users.noreply.github.com> Date: Sun, 28 Jan 2024 21:04:29 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d2699e..c04196b 100644 --- a/README.md +++ b/README.md @@ -348,7 +348,7 @@ If you see this error you have probably neglected to add all the necessary `.exa TypeError: string(...).example is not a function TypeError: number(...).example is not a function TypeError: object(...).example is not a function -# etc... +etc... ``` You forgot to call `yup.addMethod(Schema, 'example', yupByExample)`