refactor(fuselage-ui-kit): remove unnecessary ReactElement type annotations in components#40809
Conversation
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (2)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
WalkthroughThis PR systematically removes explicit ChangesType Annotation Simplification
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (2)
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 |
|
Looks like this PR is ready to merge! 🎉 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #40809 +/- ##
===========================================
- Coverage 70.09% 70.03% -0.06%
===========================================
Files 3337 3337
Lines 123506 123509 +3
Branches 22046 22020 -26
===========================================
- Hits 86568 86497 -71
- Misses 33602 33656 +54
- Partials 3336 3356 +20
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
…ations in components - Updated multiple components to remove explicit return type annotations of ReactElement, allowing TypeScript to infer the return type. - Adjusted BlockProps to use ReactElement<any> for better type compatibility. - Cleaned up imports by removing unused ReactElement imports across various files.
583408b to
dd45311
Compare
Proposed changes (including videos or screenshots)
As a first step towards upgrading to React 19, it handles types from
@types/reactlooking forward the next major.Issue(s)
Task: ARCH-2170
Steps to test or reproduce
Further comments
No runtime change is expected from it.
Summary by CodeRabbit