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 |
| }, | ||
| "resolutions": { | ||
| "@types/node": "~14.14.45", | ||
| "ansi-escapes/type-fest": "^2.0.0", |
There was a problem hiding this comment.
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.tsGives: 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