1 files changed, 2 insertions, 5 deletions
diff --git a/gateway/src/util/WebSocket.ts b/gateway/src/util/WebSocket.ts
index 2c763743..b80265a7 100644
--- a/gateway/src/util/WebSocket.ts
+++ b/gateway/src/util/WebSocket.ts
@@ -1,9 +1,9 @@
import { Intents, Permissions } from "@fosscord/util";
-import WS, { Server, Data } from "ws";
+import WS from "ws";
import { Deflate } from "zlib";
import { Channel } from "amqplib";
-interface WebSocket extends WS {
+export interface WebSocket extends WS {
version: number;
user_id: string;
session_id: string;
@@ -19,6 +19,3 @@ interface WebSocket extends WS {
permissions: Record<string, Permissions>;
events: Record<string, Function>;
}
-
-export default WebSocket;
-export { Server, Data };
|