bootstrap_typeahead: Address @typescript-eslint/no-floating-promises.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-09-23 15:13:34 -07:00 committed by Anders Kaseorg
parent e7f5e526bc
commit 18b8d0f1b2
1 changed files with 1 additions and 2 deletions

View File

@ -845,8 +845,7 @@ export class Typeahead<ItemType extends string | object> {
e.stopPropagation();
// Refresh the typeahead menu to account for any changes in the
// input position by asking popper to recompute your tooltip's position.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.instance?.popperInstance?.update();
void this.instance?.popperInstance?.update();
}
}