summary refs log tree commit diff
path: root/src/gateway/util/WebSocket.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/gateway/util/WebSocket.ts')
-rw-r--r--src/gateway/util/WebSocket.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gateway/util/WebSocket.ts b/src/gateway/util/WebSocket.ts
index d4a4b8b3..14917f21 100644
--- a/src/gateway/util/WebSocket.ts
+++ b/src/gateway/util/WebSocket.ts
@@ -16,7 +16,7 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { Intents, Permissions } from "@fosscord/util";
+import { Intents, ListenEventOpts, Permissions } from "@fosscord/util";
 import WS from "ws";
 import { Deflate, Inflate } from "fast-zlib";
 // import { Client } from "@fosscord/webrtc";
@@ -37,8 +37,8 @@ export interface WebSocket extends WS {
 	intents: Intents;
 	sequence: number;
 	permissions: Record<string, Permissions>;
-	events: Record<string, Function>;
-	member_events: Record<string, Function>;
-	listen_options: any;
+	events: Record<string, undefined | (() => unknown)>;
+	member_events: Record<string, () => unknown>;
+	listen_options: ListenEventOpts;
 	// client?: Client;
 }