mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
tsconfig: Enable noUncheckedIndexedAccess.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -108,7 +108,7 @@ function set_password_toggle_label(
|
||||
): void {
|
||||
$(password_selector).attr("aria-label", label);
|
||||
if (tippy_tooltips) {
|
||||
const element: tippy.ReferenceElement = $(password_selector)[0];
|
||||
const element: tippy.ReferenceElement = $(password_selector)[0]!;
|
||||
const tippy_instance = element._tippy ?? tippy.default(element);
|
||||
tippy_instance.setContent(label);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user