New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type: add type null #37421
type: add type null #37421
Conversation
ci 挂了是因为 rc 还没发 |
Codecov Report
@@ Coverage Diff @@
## master #37421 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 443 443
Lines 8174 8174
Branches 2402 2402
=========================================
Hits 8174 8174
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
这个有兼容性变更,应该发 minor 版本,input number 好像也没有传递 null 的情况,这个变更对下游的影响蛮大的,加了一堆 null 判断。是否可以考虑改回来。 |
可以给个复现吗? |
tsconfig 开 strict null checking 就会有: const handleChange = (value: number) => {}
<InputNumber onChange={handleChange} /> 这段代码之前可以运行,现在就不行了。得 |
是的,升个版本 要改好多地方。。。 |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
type: add type null
☑️ Self-Check before Merge