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:
evykassirer
2024-09-09 10:46:10 -07:00
committed by Tim Abbott
parent c02f4ff941
commit f57221e78d
2 changed files with 2 additions and 9 deletions

View File

@@ -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 = {