Conversation
WalkthroughThis PR refactors tooltip event handler typing across multiple chart components. The central change introduces new generic event types in tooltipContext.tsx, which enables removal of TypeScript error suppressions in Bar, Funnel, Scatter, Pie, and RadialBar components. Internal prop types in Bar are updated to use InternalProps for stricter event handler alignment. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6939 +/- ##
=======================================
Coverage 94.30% 94.30%
=======================================
Files 573 573
Lines 56891 56891
Branches 5254 5254
=======================================
Hits 53653 53653
Misses 3229 3229
Partials 9 9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Staging Deployment Details
These deployments will remain available for 30 days. To update snapshots: Comment |
Description
Updates the type and removes ts-expect-error
Related Issue
#6645
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.