mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
message_lists: Remove duplicate MessageContainer type.
Note that the `MessageContainer` type in `compose_fade` doesn't include the `url` property, but I haven't encountered a need for this property during the work to convert `message_list_view` to typescript, so it seems fine to remove it here.
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user