refactor(fuselage-ui-kit): remove unnecessary ReactElement type annotations in components#40809
refactor(fuselage-ui-kit): remove unnecessary ReactElement type annotations in components#40809tassoevan wants to merge 7 commits into
Conversation
… from AppAvatar, MessageAvatar, and RoomAvatar components
…ns across components
…ions across components
…nnotations across registration components
…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.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #40809 +/- ##
===========================================
- Coverage 69.90% 69.90% -0.01%
===========================================
Files 3337 3337
Lines 123489 123489
Branches 22013 21986 -27
===========================================
- Hits 86322 86321 -1
- Misses 33813 33817 +4
+ Partials 3354 3351 -3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.