Skip to content

Commit f3b2151

Browse files
committed
v4.3.3
1 parent 0f41e5a commit f3b2151

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/zod/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zod/zod",
3-
"version": "4.3.2",
3+
"version": "4.3.3",
44
"exports": {
55
"./package.json": "./package.json",
66
".": "./src/index.ts",

packages/zod/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zod",
3-
"version": "4.3.2",
3+
"version": "4.3.3",
44
"type": "module",
55
"license": "MIT",
66
"author": "Colin McDonnell <zod@colinhacks.com>",

packages/zod/src/v4/classic/schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export interface ZodType<
9292
refine<Ch extends (arg: core.output<this>) => unknown | Promise<unknown>>(
9393
check: Ch,
9494
params?: string | core.$ZodCustomParams
95-
): Ch extends (arg: any) => arg is infer R ? core.$ZodNarrow<this, R> : this;
95+
): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;
9696
superRefine(
9797
refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>
9898
): this;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const version = {
22
major: 4,
33
minor: 3,
4-
patch: 2 as number,
4+
patch: 3 as number,
55
} as const;

0 commit comments

Comments
 (0)