Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: TypeScript Isolated Declarations #3751

Open
aminpaks opened this issue Sep 11, 2024 · 1 comment
Open

Question: TypeScript Isolated Declarations #3751

aminpaks opened this issue Sep 11, 2024 · 1 comment

Comments

@aminpaks
Copy link

Hi folks,

Firstly, thanks for all the work you've done building such a great project.
We're wondering what you have plan for making a lighter type annotations for projects using isolated declarations. We tried Zod with the current version, and explicitly type annotating the module exports are not easy to maintain.

What are you thoughts?

@JavaScriptBach
Copy link

I'm also interested in this, although I don't see a good way of reconciling Zod with isolated declarations since the whole point of Zod is that it will automatically keep the type in sync with the schema.

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

No branches or pull requests

2 participants