Use eventsource package

This commit is contained in:
Justin Spahr-Summers 2025-01-22 18:49:04 +00:00
commit c828067171
No known key found for this signature in database

View file

@ -1,8 +1,5 @@
import EventSource from "eventsource";
import WebSocket from "ws";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(global as any).EventSource = EventSource;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(global as any).WebSocket = WebSocket;