mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
web: Avoid several unchecked TypeScript casts.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
4650b789ce
commit
3d7b9e622d
@@ -129,7 +129,7 @@ function render_attachments_ui(): void {
|
||||
set_upload_space_stats();
|
||||
|
||||
const $uploaded_files_table = $("#uploaded_files_table").expectOne();
|
||||
const $search_input = $("#upload_file_search");
|
||||
const $search_input = $<HTMLInputElement>("input#upload_file_search");
|
||||
|
||||
ListWidget.create<Attachment>($uploaded_files_table, attachments, {
|
||||
name: "uploaded-files-list",
|
||||
|
||||
Reference in New Issue
Block a user