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
[@types/react-query] initialData not typed #41187
Comments
I'd be happy to approve a PR for that 😃 |
Fixed in #41208. This issue can be now closed |
Hey guys not sure if this was already solved and is going to be released soon. initialData is typed however the result of useQuery's data is mark as (T | undefined) when it should not be undefined anymore since it was initialised. |
Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the |
There is
initialData
in config, but it's not covered with TSThe text was updated successfully, but these errors were encountered: