mirror of https://github.com/zulip/zulip.git
compose_reply: Fix TypeScript noUncheckedIndexedAccess errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
cbffc10e9e
commit
6eec89ab96
|
@ -82,6 +82,7 @@ export function respond_to_message(opts: {
|
|||
const current_filter = narrow_state.filter();
|
||||
assert(current_filter !== undefined);
|
||||
const first_term = current_filter.terms()[0];
|
||||
assert(first_term !== undefined);
|
||||
const first_operator = first_term.operator;
|
||||
const first_operand = first_term.operand;
|
||||
|
||||
|
|
Loading…
Reference in New Issue