You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TS2420: Class 'ReconnectingEventSource' incorrectly implements interface 'EventSource'. Property 'classList' is missing in type 'ReconnectingEventSource' but required in type 'EventSource'.
#71
Open
spyro2000 opened this issue
May 3, 2023
· 1 comment
Update: Never mind, seems to be a problem with ag-charts 7.x, which just overwrites EventTarget globally, requiring classList to be specified in the overwritten report. I filed a bug report: ag-grid/ag-grid#6551
Got the above error when trying to build angular app (14.1)
package.json:
`"reconnecting-eventsource": "^1.6.2",
Seems like a constructor parameter
classList
is missing?For some reason, it's only a problem within
build/src/reconnecting-eventsource.d.ts
('esm' and 'esnext' just work fine)(added the marked line by hand)
Tried with Typescript 2.4.0 and 2.5.1.
Thank you in advance,
spyro
The text was updated successfully, but these errors were encountered: