-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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: update to TypeScript 4.8 #13177
Conversation
Aww. @mrazauskas thoughts? we might need to patch |
Sure. I will take a look bit later. If Or with Node’s built-ins like |
0071941
to
a97456f
Compare
It's not |
@@ -171,6 +171,7 @@ | |||
}, | |||
"resolutions": { | |||
"@types/node": "~14.14.45", | |||
"ansi-escapes/type-fest": "^2.0.0", |
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.
I just did the same and it works ;D
There is also jasmine
related error. I think it can be ignored with @ts-expect-error
.
Since I updated to the last TypeScript version
Do you think this commit will fix it on with the next version? To test by yourself, just clone this module and |
@nfroidure I just followed the reproduction steps you provided. The library got build without any error. The strange things: I see is that Changing the version to Might be something went wrong with reproduction. Just leaving a comment. Would be better to open a new issue with minimal reproduction. |
The |
Ok, I found the problem, it comes from mkdir test && cd test
npm init -y
npm i -D typescript jest
npm i -d @types/jest
echo "import { jest } from '@jest/globals';" > test.ts
npm exec --package=typescript -- tsc test.ts Gives:
I'll report it to the concerned repo, thanks for your answer. |
If you I would recommend importing all APIs ( |
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
https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/
Test plan
Green CI