mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
web: Fix selectors to correspond with annotated types.
TypeScript does not check that these annotations are consistent with the given selector strings. We need to ensure that ourselves for runtime safety. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
548805dff9
commit
85d5669a4a
@@ -12,7 +12,7 @@ export class UserSearch {
|
||||
// details of populating the list when we change.
|
||||
|
||||
$widget = $("#user_search_section").expectOne();
|
||||
$input = $<HTMLInputElement>(".user-list-filter").expectOne();
|
||||
$input = $<HTMLInputElement>("input.user-list-filter").expectOne();
|
||||
_reset_items: () => void;
|
||||
_update_list: () => void;
|
||||
_on_focus: () => void;
|
||||
|
||||
Reference in New Issue
Block a user