You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will post a screenshot here because it's easier to show the error I am getting. But it seems that for some reason I'm linking to react-query legacy types. And then it's showing me the definition of those types is "Any." so i can't destructure any objects using intellisense.
Here is the image showing a very basic login function
And if i go look at the definition of the return type it's the following:
For some reason UseMutationResult = any which is why i'm getting nothing type related. Please let me know if this is an issue on the react-query package side
The text was updated successfully, but these errors were encountered:
Since react-query-auth is still on typescript major 4.X here maybe this isn't as easy of a fix as it was there.
Hope this helps. Would really appreciate a fix, since I'm not that experienced.
I will post a screenshot here because it's easier to show the error I am getting. But it seems that for some reason I'm linking to react-query legacy types. And then it's showing me the definition of those types is "Any." so i can't destructure any objects using intellisense.
Here is the image showing a very basic login function
And if i go look at the definition of the return type it's the following:
For some reason UseMutationResult = any which is why i'm getting nothing type related. Please let me know if this is an issue on the react-query package side
The text was updated successfully, but these errors were encountered: