From edd4f9a969412f30eaff389a85999bcdaf0a37e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Jo=C3=A3o=20Bertotti?= Date: Fri, 9 Aug 2024 15:45:09 -0300 Subject: [PATCH] typing --- src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 4651660..cd538f8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,4 @@ import * as WebSocket from "ws"; -import { ServerOptions } from "ws"; import { SendMessageToClientAgainTask } from "./tasks/SendMessageToClientAgainTask"; import { environment } from "./environment"; import { @@ -147,7 +146,7 @@ export interface IServerConfiguration { * The websocket configuration for {@link https://github.com/websockets/ws ws} (optional). * Default: `{ port: 3000 }`. * */ - wsOptions?: ServerOptions; + wsOptions?: any; } //https://stackoverflow.com/a/8440736/4508758