Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5e1cfcf

Browse filesBrowse files
authored
Change doc for email validation method in Zod schema (#5392)
1 parent 644a082 commit 5e1cfcf
Copy full SHA for 5e1cfcf

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
  • packages/docs/content/packages
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎packages/docs/content/packages/zod.mdx‎

Copy file name to clipboardExpand all lines: packages/docs/content/packages/zod.mdx
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import * as z from "zod";
1515
const schema = z.object({
1616
name: z.string(),
1717
age: z.number().int().positive(),
18-
email: z.string().email(),
18+
email: z.email(),
1919
});
2020
```
2121

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.