rxjs icon indicating copy to clipboard operation
rxjs copied to clipboard

setTimeout in my project now has an incorrect type

Open NogaMan opened this issue 2 years ago • 1 comments

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

NogaMan avatar Sep 28 '22 12:09 NogaMan

This has been fixed by ReactiveX/rxjs@c1a07b7 and shipped in 7.6 !

JeanMeche avatar Jan 23 '23 16:01 JeanMeche