sapphire problem with types
I decided to update packages and now I'm getting those errors (img 1)
Typescript version 5.6.2
Versions for all sapphire packages that I have are visible on screenshot
Solution:Jump to solution
Downgrade to ~5.4.5
Mind that tilde. It's important.
5.5 and above require a merge of https://github.com/DefinitelyTyped/DefinitelyTyped/pull/69997...
GitHub
[node] Add generics to static members of
EventEmitter
by ckohen ·...While I originally set out to just add generics to static members of EventEmitter, I discovered a few quirks and bugs in the existing generic code that made it very hard to do well. In order to mak...
2 Replies
Solution
Downgrade to ~5.4.5
Mind that tilde. It's important.
5.5 and above require a merge of https://github.com/DefinitelyTyped/DefinitelyTyped/pull/69997
GitHub
[node] Add generics to static members of
EventEmitter
by ckohen ·...While I originally set out to just add generics to static members of EventEmitter, I discovered a few quirks and bugs in the existing generic code that made it very hard to do well. In order to mak...
That helped, thanks 👍