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:
Florian Duros 2023-03-23 14:35:55 +01:00 committed by GitHub
parent e19127f8ad
commit e4dfb21e56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 85 additions and 59 deletions

View file

@ -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;
}