Commit 8f8b70e
committed
fix: regenerate corrupted lockfile and fix setTimeout type mismatch
package-lock.json had a corrupted entry from the recent merge that made
npm install fail with "Invalid Version" — regenerated it from scratch
(no dependency version changes, same package.json).
search.test.ts: ReturnType<typeof setTimeout> resolves to Node's Timeout
type here (a TS overload-resolution quirk — ReturnType picks the last
overload, while the actual browser call resolves to the first/number
overload). Typed timer as number directly to match what the call
actually returns.
tsc --noEmit, next build (31 routes), and jest (28/28 tests) now pass
clean.1 parent efc2fae commit 8f8b70e
2 files changed
Lines changed: 919 additions & 785 deletions
0 commit comments