fix(preact-query): infer infinite pageParam in useInfiniteQuery return type#10840
fix(preact-query): infer infinite pageParam in useInfiniteQuery return type#10840raashish1601 wants to merge 2 commits into
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (26)
📝 WalkthroughWalkthroughThe PR applies two independent changes: it gates Vitest code coverage to CI environments across the monorepo's 23+ packages via vite.config.ts files, and it improves TypeScript type inference for Preact's useInfiniteQuery hook to correctly resolve page parameter types instead of defaulting to unknown. ChangesCI-Gated Test Coverage
Preact Query InfiniteQuery Type Inference
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Superseded by PR 10841 with clean 2-file scoped commit against origin/main. |
test
Summary by CodeRabbit
Bug Fixes
useInfiniteQueryto correctly resolve page parameter types, providing better type safety when working with infinite queries.Chores