-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
infinite query matchFulfilled returns wrong type #4859
Comments
No, that's presumably an actual bug - I didn't think to update the types for the matchers there. Thanks for catching this! |
same issue: providesTags: (result: { pages: GetPostsResponse[], pageParams: number[] }) => [] |
I've installed 2.6.1, but I still see wrong types in matchFulfilled. What could be wrong? |
@nzaytsev can you share a repro and show what you're expecting to see there? |
@markerikson - Unfortunatelly, the original error is in private repo. I created a new repo with the same package versions. It's strange, but at the beginning the error couldn't be reproduced. After some complications it's finally reproduced, but now I cannot identify which step caused this error to be reproduced 😄 I'm sorry for useless report, I'll give you any info if I find any regularity Here is the repo https://github.com/nzaytsev/repro-rtk-type-error |
Hmm, very strange. I'll try to find time to look into it further. |
@markerikson Maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered: