Skip to content

Commit a85ec3c

Browse files
authored
fix(docs): correct example to use LooseDog instead of Dog (#5136)
1 parent 1e71ca9 commit a85ec3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/content/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ const LooseDog = z.looseObject({
10991099
name: z.string(),
11001100
});
11011101

1102-
Dog.parse({ name: "Yeller", extraKey: true });
1102+
LooseDog.parse({ name: "Yeller", extraKey: true });
11031103
// => { name: "Yeller", extraKey: true }
11041104
```
11051105

0 commit comments

Comments
 (0)