mirror of https://github.com/zulip/zulip.git
message_list_data: Update callback parameter types.
Correct the type annotations for the callback function parameter in set_add_messages_callback.
This commit is contained in:
parent
17e2d46760
commit
8741fe92be
|
@ -64,7 +64,9 @@ export class MessageListData {
|
|||
this._selected_id = -1;
|
||||
}
|
||||
|
||||
set_add_messages_callback(callback: () => void): void {
|
||||
set_add_messages_callback(
|
||||
callback: (messages: Message[], rows_order_changed: boolean) => void,
|
||||
): void {
|
||||
this.add_messages_callback = callback;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue