summary refs log tree commit diff
path: root/gateway/src/util/WebSocket.ts
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/src/util/WebSocket.ts')
-rw-r--r--gateway/src/util/WebSocket.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/gateway/src/util/WebSocket.ts b/gateway/src/util/WebSocket.ts

index 15d1549f..b80265a7 100644 --- a/gateway/src/util/WebSocket.ts +++ b/gateway/src/util/WebSocket.ts
@@ -3,7 +3,7 @@ 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,5 +19,3 @@ interface WebSocket extends WS { permissions: Record<string, Permissions>; events: Record<string, Function>; } - -export default WebSocket;