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 29aba82

Browse filesBrowse files
authored
Fix typos (#4495)
1 parent 053deba commit 29aba82
Copy full SHA for 29aba82

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

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

‎packages/docs/content/v4/changelog.mdx‎

Copy file name to clipboardExpand all lines: packages/docs/content/v4/changelog.mdx
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ type schemaInput = z.input<typeof schema>;
363363

364364
## `.default()` updates
365365

366-
The application of `.default()` has changed in a subtle way. If the input is `undefined`, `ZodDefault` short-circuits the parsing process and returns the default value. The the default value must be assignable to the *output type*.
366+
The application of `.default()` has changed in a subtle way. If the input is `undefined`, `ZodDefault` short-circuits the parsing process and returns the default value. The default value must be assignable to the *output type*.
367367

368368
```ts
369369
const schema = z.string()
Collapse file

‎packages/zod/src/v4/core/checks.ts‎

Copy file name to clipboardExpand all lines: packages/zod/src/v4/core/checks.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export const $ZodCheckNumberFormat: core.$constructor<$ZodCheckNumberFormat> = /
313313
input,
314314
code: "too_big",
315315
maximum: Number.MAX_SAFE_INTEGER,
316-
note: "Integers must be within the the safe integer range.",
316+
note: "Integers must be within the safe integer range.",
317317
inst,
318318
origin,
319319
continue: !def.abort,

0 commit comments

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