-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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
fix: fix incorrect type declarations #30776
Conversation
Codecov Report
@@ Coverage Diff @@
## master #30776 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 397 397
Lines 7546 7546
Branches 2113 2113
=========================================
Hits 7546 7546
Continue to review full report at Codecov.
|
可以配置个 strict 模式的 action,每次提交的类型错误数量不能多余上一次。 |
没太懂你这句话什么意思呢? @yesmeck |
我意思在 CI 里用 strict 模式跑一次 tsc,跟上一次 commit 的类型错误数量做次对比,这样可以避免引入新的类型错误。 |
他可能不是留言给你的。 |
看一下 CI。 |
CI 要怎么做?我没太明白 |
CI 现在是通过的 |
[English Template / 英文模板]
🤔 这个变动的性质是?
🔗 相关 Issue
#14445
💡 需求背景和解决方案
开启 tsconfig 的 strictMode,因为一次性需要修改的类型声明太多,所以先分批修复提交,最后再将 tsconfig.json 的
strict: true
开启。📝 更新日志
☑️ 请求合并前的自查清单