refactor: Remove any usage and enforce strict typing in AdminUserInfoActions#39041
Conversation
… in AdminUserInfoActions
|
Looks like this PR is ready to merge! 🎉 |
|
WalkthroughThe changes improve type safety in the admin user actions components by removing Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 @@
## develop #39041 +/- ##
===========================================
- Coverage 70.27% 70.21% -0.06%
===========================================
Files 3284 3284
Lines 117118 117118
Branches 20736 20728 -8
===========================================
- Hits 82308 82240 -68
- Misses 31517 31590 +73
+ Partials 3293 3288 -5
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Fixes: #39040
What changed
anyinAdminUserInfoActionsmapAction with[string, AdminUserAction]disabled?: booleantoAdminUserActiontypeWhy
This aligns
AdminUserInfoActionswith strict typing and removes unsafe casts without changing behavior.Impact
Summary by CodeRabbit
New Features
Refactor
COMM-153