Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
list_widget: Add missing generic parameters to handle_sort.
Anders Kaseorgc1636ffc6fa9
diff --git a/web/src/list_widget.ts b/web/src/list_widget.tsindex 642dec1834d..4661e0dc5c4 100644--- a/web/src/list_widget.ts+++ b/web/src/list_widget.ts@@ -563,7 +563,7 @@ export function get(name: string): ListWidget | false {return DEFAULTS.instances.get(name) ?? false;}-export function handle_sort($th: JQuery, list: ListWidget): void {+export function handle_sort<Key, Item>($th: JQuery, list: ListWidget<Key, Item>): void {/*one would specify sort parameters like this:- name => sort alphabetic.