aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/builtins/EventSource.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/js/builtins/EventSource.ts b/src/js/builtins/EventSource.ts
index 91364da04..ac7ba9a6d 100644
--- a/src/js/builtins/EventSource.ts
+++ b/src/js/builtins/EventSource.ts
@@ -25,9 +25,6 @@
export function getEventSource() {
type Socket = Awaited<ReturnType<typeof Bun.connect<EventSource>>>;
- class ConnectionError extends Error {}
- Object.defineProperty(ConnectionError.prototype, "name", { value: "ConnectionError" });
-
class ProtocolError extends Error {}
Object.defineProperty(ProtocolError.prototype, "name", { value: "ProtocolError" });