Skip to content

fix(zod): fix zx.toType(z.lazy(() => z.any()).readonly()) - #221

Merged
ahrjarrett merged 4 commits into
mainfrom
zod-circular
Jul 10, 2025
Merged

fix(zod): fix zx.toType(z.lazy(() => z.any()).readonly())#221
ahrjarrett merged 4 commits into
mainfrom
zod-circular

Conversation

@ahrjarrett

@ahrjarrett ahrjarrett commented Jul 10, 2025

Copy link
Copy Markdown
Member

Closes #222

@ahrjarrett ahrjarrett changed the title fix(zod): make zx.toType more robust by looking for deeper anys fix(zod): fixes zx.toType(z.lazy(() => z.any()).readonly() Jul 10, 2025
@ahrjarrett ahrjarrett changed the title fix(zod): fixes zx.toType(z.lazy(() => z.any()).readonly() fix(zod): fixes zx.toType(z.lazy(() => z.any()).readonly()) Jul 10, 2025
@ahrjarrett ahrjarrett changed the title fix(zod): fixes zx.toType(z.lazy(() => z.any()).readonly()) fix(zod): fix zx.toType(z.lazy(() => z.any()).readonly()) Jul 10, 2025
@ahrjarrett
ahrjarrett merged commit 3a87beb into main Jul 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(zod): zx.toType(z.lazy(() => z.any()).readonly()) infers incorrect type

1 participant