Fix strict strictNullChecks
to src/editor/*
(#10428
* Fix strict `strictNullChecks` to `src/editor/*` * Fix autoComplete creation * Fix dom regression * Remove changes
This commit is contained in:
parent
e19127f8ad
commit
e4dfb21e56
11 changed files with 85 additions and 59 deletions
|
@ -137,5 +137,5 @@ export async function shouldSendAnyway(commandText: string): Promise<boolean> {
|
|||
button: _t("Send as message"),
|
||||
});
|
||||
const [sendAnyway] = await finished;
|
||||
return sendAnyway;
|
||||
return sendAnyway || false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue