[autofix.ci] apply automated fixes
authorautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Wed, 20 Nov 2024 14:21:06 +0000 (14:21 +0000)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 14:21:06 +0000 (14:21 +0000)
examples/typescript/websocket-server-pool/ws-cluster/src/worker.ts
examples/typescript/websocket-server-pool/ws-hybrid/src/websocket-server-worker.ts

index 5b44a950549356594971f4e4c795ac34305a3756..3031bd66cc7a02627f27fd340b11a9fb3b30ed1b 100644 (file)
@@ -49,7 +49,7 @@ class WebSocketServerWorker extends ClusterWorker<WorkerData, WorkerResponse> {
       ws.on('error', console.error)
       ws.on('message', (message: RawData) => {
         const { data, type } = JSON.parse(
-          // eslint-disable-next-line @typescript-eslint/no-base-to-string
+
           message.toString()
         ) as MessagePayload<DataPayload>
         switch (type) {
index d5695575c15ac1596edcbca535e74957408e81e5..779f3760249537be6a1501d907ed4c77c2393ec7 100644 (file)
@@ -66,7 +66,7 @@ class WebSocketServerWorker extends ClusterWorker<
       ws.on('error', console.error)
       ws.on('message', (message: RawData) => {
         const { data, type } = JSON.parse(
-          // eslint-disable-next-line @typescript-eslint/no-base-to-string
+
           message.toString()
         ) as MessagePayload<DataPayload>
         switch (type) {