-
Notifications
You must be signed in to change notification settings - Fork 43
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
build: upgrade typescript to v5 #441
Conversation
Preview DeploymentSites https://pr-441-sites--bangumi-next.netlify.app Storybook https://pr-441-storybook--bangumi-next.netlify.app |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #441 +/- ##
=======================================
Coverage 83.49% 83.49%
=======================================
Files 93 93
Lines 5375 5375
Branches 427 428 +1
=======================================
Hits 4488 4488
Misses 880 880
Partials 7 7 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
@trim21 this pull request is now in conflict 😩 |
@trim21 this pull request is now in conflict 😩 |
@trim21 this pull request is now in conflict 😩 |
@trim21 this pull request is now in conflict 😩 |
发现这个 deprecated warning 是 babel-plugin-lodash 的问题 |
ts 5.0 没有 break change,不过有些打包工具没解决新版本 ts 的 deprecation warning,而且看起来 webstorm 的支持也有些问题。
唯一的新语法 Const Generics 一时半会也用不到(
有几个新的 tsconfig 选项倒是挺有意义,比如
"moduleResolution": "bundler"
,"allowImportingTsExtensions": true
和"verbatimModuleSyntax": true