Skip to content

Commit dc2c0b0

Browse files
minor grammar typo fix (#4584)
* minor grammar typo fix * Tweak --------- Co-authored-by: Colin McDonnell <[email protected]>
1 parent fc69453 commit dc2c0b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/docs/content/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2538,7 +2538,7 @@ This function will throw a `ZodError` if the input is invalid:
25382538
computeTrimmedLength(42); // throws ZodError
25392539
```
25402540

2541-
If you only care about validating inputs, omit the `output` field is optional.
2541+
If you only care about validating inputs, you can omit the `output` field.
25422542

25432543
```ts
25442544
const MyFunction = z.function({

0 commit comments

Comments
 (0)