#111607Replace non-null assertions in TypeScript sources
Description
Part of #111591.
A non-null assertion (value!) tells the compiler a value is never null or undefined without checking it, and so bypasses strictNullChecks. Resolve the findings of typescript-eslint/no-non-null-assertion@ with real null handling or narrower types, then remove its "off" entry from Build/eslint.config.mjs.
Findings with typescript-eslint 8.58.1: 1948, most of them in EXT:backend, EXT:form and EXT:install. The work can be split into one patch per extension.
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] Replace non-null assertions in TypeScript sources Resolves: #111607 Releases: main