-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Types acquisition seems to be broken after upgrading from 4.8.3 to 4.8.4 #50984
Comments
Can confirm, happened to me with a number of other packages too. Downgrading to an earlier version helped. |
Note that this isn't actually type acquisition (ATA), but something else, e.g. resolving global types or something. The first thing I'll note is that you have That being said, I've tried to reproduce this using your example, but I don't get any errors. Can you construct one in a repo somewhere? Does anyone else have an example that works? The only cherry-pick that I can imagine being related is #50747. Skimming it, I'm noticing some potential bugs show in the test baselines where we're resolving things to files like |
I've created this repo reproducing it: Types Resolution Error |
Things appear to work fine so long as you set |
This issue has been marked as 'External' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Fixed! Yarnpkg Berry #4093 |
Bug Report
π Search Terms
v4.8.4
was released yesterday, so I just looked at the last 24h issues and found none.π Version & Regression Information
4.8.3
and4.8.4
β― Playground Link
N/A.
π» Code
my-test.test.ts
Errors
Installed Types
Typescript Config
tsconfig.base.js
tsconfig.js
π Actual behavior
describe
,it
andexpect
are not recognised even if Jest type definitions are installed.Everything was working fine until
v4.8.4
, changing^4.8.3
with4.8.3
fixes the issue.π Expected behavior
Jest types to be properly recognised.
The text was updated successfully, but these errors were encountered: