mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-27 10:37:40 +02:00
`body` is `unknown`, so `...(body && {...})` spreads a string-including
union and fails vue-tsc (TS2698). `Boolean(body)` keeps the spread
object-only while preserving the runtime behavior.
Assisted-by: claude-code:opus-4.8