-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
refactor(*): unify & use noop #8294
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 4c40c12. 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 2 targetsSent with 💌 from NxCloud. |
packages/query-core/src/utils.ts
Outdated
export function noop(): undefined { | ||
return undefined | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unified this noop return type from undefined to void
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now @tanstack/query-core's noop's return type is undefined
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8294 +/- ##
===========================================
+ Coverage 45.84% 82.27% +36.42%
===========================================
Files 199 81 -118
Lines 7499 1213 -6286
Branches 1714 256 -1458
===========================================
- Hits 3438 998 -2440
+ Misses 3683 186 -3497
+ Partials 378 29 -349 |
I'll fix type error soon |
I resolved it now😀 |
No description provided.