-
Notifications
You must be signed in to change notification settings - Fork 455
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
Type conflicts between @types/jest and jest #1938
Comments
Ah, I see this is being caused by #1859. If a single function is responsible for pushing |
Seems relevant too: jestjs/jest#10118 |
hmm I thought if Actually we already discussed with jest team about moving the |
My |
I think you can override |
Setting |
Well, removing I don't understand why not listing |
Ah, that's because I guess I'm just going to have to live with this conflict then. Since my |
💬 Questions and Help
I've just realized that the global jest variables in my project are being typed using
@types/jest
, which is installed as a dependency byts-jest
. On the other hand, I wanted to use the officialjest
types as they are a bit more up to date with my needs (e.g.beforeAll
returningvoid
instead ofany
).Is this intended behavior? Or more importantly, can I work around it and make the globals types also come from
jest
?The text was updated successfully, but these errors were encountered: