mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
narrow_history: Convert module to typescript.
This commit is contained in:
committed by
Anders Kaseorg
parent
e0a10c2d94
commit
b20694aa07
@@ -3,6 +3,7 @@ import assert from "minimalistic-assert";
|
||||
|
||||
import * as blueslip from "./blueslip";
|
||||
import * as inbox_util from "./inbox_util";
|
||||
import type {MessageListData} from "./message_list_data";
|
||||
import type {Message} from "./message_store";
|
||||
import * as recent_view_util from "./recent_view_util";
|
||||
import * as ui_util from "./ui_util";
|
||||
@@ -24,6 +25,7 @@ type MessageList = {
|
||||
all_messages: () => Message[];
|
||||
get: (id: number) => Message | undefined;
|
||||
pre_narrow_offset?: number;
|
||||
data: MessageListData;
|
||||
};
|
||||
|
||||
export let home: MessageList | undefined;
|
||||
|
||||
Reference in New Issue
Block a user