Closed xenoterracide closed 2 years ago
What if you add @types/node?
No, I tried that. Ultimately the problem came down to being that another module in the mono repo was indirectly depending on V7, and node resolution was messing things up.
On Tue, Jul 12, 2022, 3:19 AM Benjamin Gruenbaum @.***> wrote:
What if you add @types/node?
— Reply to this email directly, view it on GitHub https://github.com/sinonjs/fake-timers/issues/435#issuecomment-1181406834, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAABLDKERYI66XVXKQBFLCDVTUL7HANCNFSM53IHSPKA . You are receiving this because you authored the thread.Message ID: @.***>
seems all of my
globalthis
types, I think it's a missing dependency. I'm not actually using faketimers directlyI'm a bit baffled as this only started happening after I pulled sinon into a new workspace in our repo. So I suspect that workspace must be missing some types but what/why.
I did try adding
@types/sinonjs__fake-timers
, we don't even have fake timers used anywhere in our code.