8000 Cannot find module 'zod/v4' or its corresponding type declarations. · Issue #4476 · colinhacks/zod · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot find module 'zod/v4' or its corresponding type declarations. #4476
Open
@RossMcMillan92

Description

@RossMcMillan92

I have seen the solution is to update the module and moduleResolution entries in the tsconfig. However, this isn't ideal as it breaks other things in our projects.

This is particularly frustrating as we had already done a lot of work to migrate to zod4 when it was on the "next" branch. But now that it's been officially released, we have to keep using v3 but with the "zod/v4" import, which breaks types.

Can we just have a 4.0.0 release? Would remove the requirement to change tsconfig.json, making migration so much easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0