refactor(icons): migrate icons from Flow to TypeScript - #4792
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. WalkthroughThe change adds ChangesIcon type declarations
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR makes a localized type-system migration for icons without introducing an actionable merge-blocking risk; it is merge-ready after normal checks and review. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Convert icons to TypeScript
This PR converts
src/iconsfrom JavaScript with Flow to TypeScript.Changes
flowTypes.jstoflowTypes.tswith exportedIconandTwoTonedIconinterfacesflowTypes.js.flowfor backward compatibility// @flowpragmas fromIconShieldandUsersEmptyStatetestsContract
Testing
src/icons; all 1509 passyarn lint:tsandflow checkpassSummary by CodeRabbit
New Features
Tests