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

Add typing support for initialData #34

Merged
merged 1 commit into from
Jun 25, 2021
Merged

Add typing support for initialData #34

merged 1 commit into from
Jun 25, 2021

Conversation

Steffi3rd
Copy link
Contributor

This PR is to fix the following bug 🐛 found when using the useQuery method 👍

Argument of type '{ initialData: string; }' is not assignable to parameter of type '{ cacheTime?: number | undefined; staleTime?: number | undefined; ssr?: boolean | undefined; client?: ApiClient | undefined; }

This PR is to fix the following bug 🐛 found when using the `useQuery` method : `Argument of type '{ initialData: string; }' is not assignable to parameter of type '{ cacheTime?: number | undefined; staleTime?: number | undefined; ssr?: boolean | undefined; client?: ApiClient | undefined; }`
@Steffi3rd Steffi3rd mentioned this pull request May 21, 2021
@aribouius aribouius merged commit 96c7594 into aribouius:master Jun 25, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants