Skip to content

Commit 29aba82

Browse files
authored
Fix typos (#4495)
1 parent 053deba commit 29aba82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/docs/content/v4/changelog.mdx

Lines changed: 1 addition & 1 deletion
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()

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

Lines 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)