#111600Fix promises passed where void is expected in TypeScript
Description
Part of #111591.
An async function passed as an event listener or other callback that expects void has its promise, and any rejection, dropped; a promise used as a condition is always truthy. Resolve the findings of typescript-eslint/no-misused-promises@, then remove its "off" entry from Build/eslint.config.mjs.
Findings with typescript-eslint 8.58.1: 42, most of them in EXT:backend.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[TASK] Fix promises passed where void is expected in TypeScript Resolves: #111600 Releases: main