We updated the hash updater callbacks in the two new test files added by this PR to use optional parameters (prev?: string) instead of required ones, which fixes the TS2322 type errors caught by TypeScript TS56. The Updater<string> type expects (prev?: string | undefined) => string, and the ?? '' fallback preserves existing test assertions (e.g. '/?page=1#x-0' when no prior hash exists).
Failed after
FFloMerge branch 'main' into perf/task2-search-reserialization
81430e2312bOpen on GitHubThis code change can't be applied
You do not have the right to apply or reject this fix, please ensure you are logged in with the correct permissions.