Skip to content

Commit 2db3e92

Browse files
committed
Simplify
1 parent 198ee13 commit 2db3e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const team = object(
9595
Create union types using `anyOf` to allow multiple possible schemas:
9696

9797
```ts
98-
const contactInfo = anyOf([
98+
const contact = anyOf([
9999
object({ email: string() }),
100100
object({ phone: string() }),
101101
])

0 commit comments

Comments
 (0)