Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Aug 22, 2024
1 parent 8155846 commit ae6c64a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ class Client {
}

start() {
const events = new EventSource(this.source, { dispatcher: new EnvHttpProxyAgent() });
const events = new EventSource(this.source, {
dispatcher: new EnvHttpProxyAgent(),
});

// Reconnect immediately
(events as any).reconnectInterval = 0; // This isn't a valid property of EventSource
Expand Down

0 comments on commit ae6c64a

Please sign in to comment.