Skip to content

Commit

Permalink
Update README.md (#2101)
Browse files Browse the repository at this point in the history
  • Loading branch information
bestseob93 committed Sep 6, 2023
1 parent 1ee9b21 commit 13ce359
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 @@ -351,7 +351,7 @@ interface Person {
const schema: ObjectSchema<Person> = object({
name: string().defined(),
age: number().optional(),
sex: string<'male' | 'female' | 'other'>().nullable().defined();
sex: string<'male' | 'female' | 'other'>().nullable().defined(),
});

// ❌ errors:
Expand Down

0 comments on commit 13ce359

Please sign in to comment.