[go: nahoru, domu]

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

Better hover-on Intellisense types #401

Open
cabljac opened this issue Jun 13, 2024 · 1 comment
Open

Better hover-on Intellisense types #401

cabljac opened this issue Jun 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cabljac
Copy link
Collaborator
cabljac commented Jun 13, 2024

A piece of feedback i've seen repeated several times. This isn't a nice developer experience:

image

My guess is that the huge generated schema in the .d.ts files is causing this. I dont know what a good solution would look like.
Screenshot 2024-06-13 at 08 37 47

Perhaps manually typing and then enforcing equality of types some other way?

@cabljac cabljac added the enhancement New feature or request label Jun 13, 2024
@cabljac
Copy link
Collaborator Author
cabljac commented Jun 13, 2024

I think the issue here is having the generic type which extends z.ZodTypeAny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant