rxjs
rxjs copied to clipboard
setTimeout in my project now has an incorrect type
Describe the bug
After update to 7.5.7
every call of setTimeout
in my project now has invalid return type
It used to be inherited from typescript's lib.dom.d.ts
, beingnumber
Now it's somehow inherited from rxjs
, changing to number | NodeJS.Timeout
Not reproducing in 7.5.6
Expected behavior
The type should not change
Reproduction code
No response
Reproduction URL
No response
Version
7.5.7
Environment
No response
Additional context
No response
This has been fixed by ReactiveX/rxjs@c1a07b7 and shipped in 7.6 !