Not require Websocket type definition imports

This commit is contained in:
Elias Nahum
2022-01-28 15:53:55 -03:00
parent d14ce66897
commit 702aadfddd
6 changed files with 2 additions and 10 deletions

View File

@@ -1,14 +1,14 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export type WebsocketBroadcast = {
type WebsocketBroadcast = {
omit_users: Dictionary<boolean>;
user_id: string;
channel_id: string;
team_id: string;
}
export type WebSocketMessage = {
type WebSocketMessage = {
event: string;
data: any;
broadcast: WebsocketBroadcast;