Skip to content

Commit fa7bee4

Browse files
authored
fix(docs): remove z.literal(Symbol) (#4587)
Zod 4 (#4074) - Remove `z.literal(Symbol("terrific"));` from docs in api.mdx
1 parent 9a81173 commit fa7bee4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/docs/content/api.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ const tuna = z.literal("tuna");
8989
const twelve = z.literal(12);
9090
const twobig = z.literal(2n);
9191
const tru = z.literal(true);
92-
const terrific = z.literal(Symbol("terrific"));
9392
```
9493

9594
To represent the JavaScript literals `null` and `undefined`:

0 commit comments

Comments
 (0)