Skip to content

Conversation

TrevorBurnham
Copy link

@TrevorBurnham TrevorBurnham commented Sep 1, 2025

Re: #127

AFAICT the bug report must be referencing a TypeScript error, not a functional error. This PR fixes that type error and adds unit tests for passing options such as scroll to both replace and push. Update: Although the bug report prompted this PR, the issue this PR fixes is different. The bug report involves the App Router, whereas this PR adds missing types for the Pages Router.

Copy link

changeset-bot bot commented Sep 1, 2025

🦋 Changeset detected

Latest commit: 0d305b8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
next-router-mock Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Owner

@scottrippey scottrippey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@scottrippey
Copy link
Owner

@TrevorBurnham can you run npm run lint:fix and push up?

@TrevorBurnham
Copy link
Author

@scottrippey Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants