💬 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 by ts-jest. On the other hand, I wanted to use the official jest types as they are a bit more up to date with my needs (e.g. beforeAll returning void instead of any).
Is this intended behavior? Or more importantly, can I work around it and make the globals types also come from jest?
💬 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 officialjesttypes as they are a bit more up to date with my needs (e.g.beforeAllreturningvoidinstead ofany).Is this intended behavior? Or more importantly, can I work around it and make the globals types also come from
jest?