diff options
author | 2023-06-17 22:11:54 -0700 | |
---|---|---|
committer | 2023-06-17 22:11:54 -0700 | |
commit | fefd1c29ef967c8b6013561299c5fa03cb210fa8 (patch) | |
tree | 1eefdaa0a4f686e31f69766df7b32ff92876a664 | |
parent | 503e7216fc2ef8cd14f6b3afb0301a39e81dcbc5 (diff) | |
download | bun-fefd1c29ef967c8b6013561299c5fa03cb210fa8.tar.gz bun-fefd1c29ef967c8b6013561299c5fa03cb210fa8.tar.zst bun-fefd1c29ef967c8b6013561299c5fa03cb210fa8.zip |
Update EventSource.ts
-rw-r--r-- | src/js/builtins/EventSource.ts | 3 |
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" }); |