Skip to content

Commit 63881c3

Browse files
authored
docs: fixed a typo "syntetic" for terminated close event documenation (#557)
1 parent 024e2ce commit 63881c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ export interface Client extends Disposable {
452452
* Terminates the WebSocket abruptly and immediately.
453453
*
454454
* A close event `4499: Terminated` is issued to the current WebSocket and a
455-
* syntetic {@link TerminatedCloseEvent} is immediately emitted without waiting for
455+
* synthetic {@link TerminatedCloseEvent} is immediately emitted without waiting for
456456
* the one coming from `WebSocket.onclose`.
457457
*
458458
* Terminating is not considered fatal and a connection retry will occur as expected.
@@ -1062,7 +1062,7 @@ export function createClient<
10621062
}
10631063

10641064
/**
1065-
* A syntetic close event `4499: Terminated` is issued to the current to immediately
1065+
* A synthetic close event `4499: Terminated` is issued to the current to immediately
10661066
* close the connection without waiting for the one coming from `WebSocket.onclose`.
10671067
*
10681068
* Terminating is not considered fatal and a connection retry will occur as expected.

0 commit comments

Comments
 (0)