Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_lists: Remove duplicate MessageContainer type.
evykassirerf57221e78daf
diff --git a/web/src/compose_fade.ts b/web/src/compose_fade.tsindex d0d999b3ef5..6d96a6775f4 100644--- a/web/src/compose_fade.ts+++ b/web/src/compose_fade.ts@@ -14,7 +14,7 @@ import type {AllVisibilityPolicies} from "./user_topics";import * as util from "./util";// TODO/TypeScript: Move this to message_list_view.js when it's migrated to TypeScript.-type MessageContainer = {+export type MessageContainer = {background_color: string;date_divider_html?: string;edited_alongside_sender: boolean;diff --git a/web/src/message_lists.ts b/web/src/message_lists.tsindex 45d8651cf53..5f78bde17d6 100644--- a/web/src/message_lists.ts+++ b/web/src/message_lists.ts@@ -1,19 +1,12 @@import $ from "jquery";+import type {MessageContainer} from "./compose_fade";import * as inbox_util from "./inbox_util";import type {MessageListData} from "./message_list_data";import * as message_list_data_cache from "./message_list_data_cache";import type {Message} from "./message_store";import * as ui_util from "./ui_util";-// TODO(typescript): Move this to message_list_view when it's-// converted to TypeScript.-export type MessageContainer = {- msg: Message;- is_hidden: boolean;- url: string;-};-// TODO(typescript): Move this to message_list_view when it's// converted to typescript.type MessageListView = {