typed-emitter icon indicating copy to clipboard operation
typed-emitter copied to clipboard

[RxJS] `FromEvent` type missmatch since 7.5.6

Open Amphaal opened this issue 2 years ago • 0 comments

If using RxJS >=7.5.6, we could not parse rxjs's fromEvent to a typed-emitter/rxjs fromEvent :

import { fromEvent as rxFromEvent } from 'rxjs'
const fromEvent = rxFromEvent as FromEvent

..my VSCode says at line 2 that both types are not compatible.

Amphaal avatar Sep 30 '22 07:09 Amphaal