-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
chore(deps): bump TypeScript to v4.9.5 #14028
Conversation
Seems like I got through that glitch by moving typechecks to separate job. I was thinking to suggest this at some point, simply to make the TypeScript Compatibility job lighter. The Note that in the new job I skipped I was playing locally a bit. This is one of the reasons why I think it is good idea to keep typechecks in a separate job. Here it would be just fine to leave the outdated Hard to say where was TypeScript v5 coming from. Was it because of removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Very odd CI started failing, but I can't be bothered to dif into it 😅
#14055 fixes this without having to split jobs and should be landed regardless since it'll fix bugs when you run old compat tests locally. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Upgrading to TypeScript v5 is currently blocked by
@microsoft/api-extractor
, because it throws if theignoreDeprecations
compiler option is around. This makes it impossible to use the option with TypeScript 4.9.5 too.ignoreDeprecations
will also be a problem when testing types on older versions of TypeScript. This PR is changingtsconfig.json
used for type testing. I think it makes sense to extend fromnode14
base instead ontsconfig.json
which is used for build.The compiler config for type testing was mostly unsetting some build options like
composite
. That was nice shortcut, but I think type testing shouldn’t be somehow too much related with build config. It has to work with older versions, so I am trying to reshape it here.Test plan
Green CI