mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
The W2 commit shipped with `as never` casts on the request + params arguments, which let the runtime test pass but failed strict tsc because `apiHandler<() => Promise<Response>>` narrows the wrapper's signature down to its inner handler's. Cast through `unknown` so the wrapper-side `request.url` read works and tsc is satisfied. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>