Skip to content

Mutation Typescript types #405

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

Closed
gitBlameMyself opened this issue Mar 11, 2024 · 3 comments
Closed

Mutation Typescript types #405

gitBlameMyself opened this issue Mar 11, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@gitBlameMyself
Copy link

gitBlameMyself commented Mar 11, 2024

Is there something missing in my setup to have type completion inside mutations? Right now I can pretty much pass anything to the mutation and my IDE doesn't notice potential errors.

image
@gitBlameMyself gitBlameMyself added the bug Something isn't working label Mar 11, 2024
@uncvrd
Copy link
Contributor

uncvrd commented Mar 12, 2024

I'm pretty sure this has to do with the same issue I posted a few days ago #401 what moduleResolution are you using in your tsconfig.json? Hopefully we can get some thoughts from @psteinroe ....happy to help where i can

@psteinroe
Copy link
Owner

hey @uncvrd and @cptlchad, thanks for opening the issues! I guess we are missing some package json export config. Does anyone of you have experience with this? Happy to accept prs and support!

@uncvrd
Copy link
Contributor

uncvrd commented Mar 12, 2024

@psteinroe thanks for the PR encouragement! I took a look and it seems to be resolved by updating TS to the latest version. Hopefully this helps, let me know if you have any questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants