variable types are not strict on urql #9802
Unanswered
NickSurmanidze
asked this question in
Q&A
Replies: 1 comment
-
Any luck here? it seems like Urql defaults teh type of useQuery and useMutation to any so passing in a stricter type as an argument doesn't narrow anything |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We recently switched from typescrypt-urql to client preset and based on docs variables should be typed. But they seem to allow adding additional variables:
As a workaround we add
and now we get lint error for extra variables.
Did anyone else experience similar issue?
Beta Was this translation helpful? Give feedback.
All reactions