Skip to content

Commit

Permalink
chore: fix typescript in api-client (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisyahlen-deriv authored Jul 26, 2024
1 parent 1bfb147 commit 1fe5249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client-library/deriv-api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class DerivAPIClient {
switchConnection() {}

isSocketClosingOrClosed() {
return [!2, 3].includes(this.websocket.readyState);
return ![2, 3].includes(this.websocket.readyState);
}

disconnect() {
Expand Down

0 comments on commit 1fe5249

Please sign in to comment.