Skip to content

Commit

Permalink
fix(readme): some typos and update CustomizingErrors doc (#2163)
Browse files Browse the repository at this point in the history
* fix(readme): some typos and update CustomizingErrors doc

* fix(readme): update CustomizingErrors doc

* Update README.md
  • Loading branch information
yjhtry authored Mar 15, 2024
1 parent 0f2cad3 commit 5c77e0d
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 @@ -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,
Expand Down

0 comments on commit 5c77e0d

Please sign in to comment.