test(vue-query/mutationOptions): add type tests for getter overloads#10466
test(vue-query/mutationOptions): add type tests for getter overloads#10466
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughType-test coverage expanded for the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 0976051
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
mutationOptionsgetter overloads:should error if mutationFn return type mismatches TData (getter): verifies@ts-expect-errorworks correctly with getter overloadsshould infer all types when not explicitly provided (getter): verifies return type is() => WithRequired<...>/() => Omit<...>should work when used with useMutation (getter): verifies getter can be passed directly touseMutation✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit