Skip to content
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

Closed
skryvytskyi opened this issue Dec 21, 2019 · 4 comments
Closed

[@types/react-query] initialData not typed #41187

skryvytskyi opened this issue Dec 21, 2019 · 4 comments

Comments

@skryvytskyi
Copy link

There is initialData in config, but it's not covered with TS

@JaceHensley
Copy link
Contributor

I'd be happy to approve a PR for that 😃

@lukaszfiszer
Copy link
Contributor

Fixed in #41208.

This issue can be now closed

@luanlucho
Copy link

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.

@orta orta closed this as completed Jun 7, 2021
@orta
Copy link
Collaborator

orta commented Jun 7, 2021

Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the @types modules in DefinitelyTyped.

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 definitely-typed channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants