summary refs log tree commit diff
path: root/gateway/src/util/WebSocket.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-20 23:34:54 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-20 23:34:54 +0200
commitcdbb54bb3c5915556cd69b44a9eaef49c3d19d50 (patch)
treecf4ceb6f2cb52e285c6e3c2c7c173104ebe6c0cc /gateway/src/util/WebSocket.ts
parentMerge branch 'master' into unittests (diff)
downloadserver-cdbb54bb3c5915556cd69b44a9eaef49c3d19d50.tar.xz
:art: rewrite imports
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;