Expose input internal types#177
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 概览在 更改内容类型导出结构更新
相关 PR
代码审查工作量评估🎯 1 (平凡) | ⏱️ ~3 分钟 诗歌
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
There was a problem hiding this comment.
Code Review
This pull request updates src/index.tsx to export BaseInputProps and HolderRef. The review feedback suggests streamlining the export of HolderRef by using a direct export from the source file, which would eliminate a redundant import and maintain consistency with existing export patterns.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #177 +/- ##
=======================================
Coverage 98.34% 98.34%
=======================================
Files 11 11
Lines 423 423
Branches 137 137
=======================================
Hits 416 416
Misses 7 7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
背景
antd 需要移除对
@rc-component/input/lib/interface的深路径依赖,改为从包根入口导入公开类型。调整内容
BaseInputProps,覆盖 antd 当前使用场景。HolderRef,覆盖下游 rc 包对 BaseInput ref 类型的复用需求。验证
npm run lint通过,仅存在项目已有 warning。Summary by CodeRabbit
发布说明