Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 authored Jan 28, 2024
1 parent 8cba9f7 commit 2657674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`

Expand Down

0 comments on commit 2657674

Please sign in to comment.