You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): type the fetch spy so tsc strict-tuple check passes
Vitest's vi.fn() with no signature returns Mock<[], unknown>; reading
mock.calls[0][0] / [0][1] under TS strict (noUncheckedIndexedAccess +
strict tuple types) raises TS2493. Give the spy a typed signature
matching `fetch(input, init?)` so the destructuring works without
casts.
`npm run gate` clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments