Issue Task New

#111602Resolve unsafe returns of any values in TypeScript

Benjamin Kott 11/25/26, 14:27 updated 11/25/26, 14:27

Description

Part of #111591.

Returning a value typed as any from a function with a declared return type passes the type check without one. Resolve the findings of typescript-eslint/no-unsafe-return@ by giving the values real types, not by casting, then remove its "off" entry from Build/eslint.config.mjs.

Findings with typescript-eslint 8.58.1: 62, most of them in EXT:backend and the Playwright specs in Build/tests.

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] Resolve unsafe returns of any values in TypeScript Resolves: #111602 Releases: main