From 63881c3372a3564bf42040e3f572dd74e41b2e49 Mon Sep 17 00:00:00 2001 From: Ahmed Osama Ibrahim Date: Wed, 1 May 2024 13:18:04 +0200 Subject: [PATCH] docs: fixed a typo "syntetic" for terminated close event documenation (#557) --- src/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.ts b/src/client.ts index 7041f681..42888da3 100644 --- a/src/client.ts +++ b/src/client.ts @@ -452,7 +452,7 @@ export interface Client extends Disposable { * Terminates the WebSocket abruptly and immediately. * * A close event `4499: Terminated` is issued to the current WebSocket and a - * syntetic {@link TerminatedCloseEvent} is immediately emitted without waiting for + * synthetic {@link TerminatedCloseEvent} is immediately emitted without waiting for * the one coming from `WebSocket.onclose`. * * Terminating is not considered fatal and a connection retry will occur as expected. @@ -1062,7 +1062,7 @@ export function createClient< } /** - * A syntetic close event `4499: Terminated` is issued to the current to immediately + * A synthetic close event `4499: Terminated` is issued to the current to immediately * close the connection without waiting for the one coming from `WebSocket.onclose`. * * Terminating is not considered fatal and a connection retry will occur as expected.