-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(types): add pageParam and direction as optional to "normal" queryFn #7212
Conversation
because that's what we get when using a defaultQueryFn
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit d227630. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
@DamianOsipiuk do you know why this small type change leads to this error?
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d227630:
|
This is potentially due to how Potential workaround is to import More long term fix would be to fix it in Or depend on users upgrading their TS version 😞 |
that fix has been reverted though (see microsoft/TypeScript#57849 ) |
because that's what we get when using a defaultQueryFn
closes #6715